Thanks for helping , pom really don't have this dependency but what is the name of the package that i should write it ?
On Tue, Oct 27, 2015 at 2:26 PM, Craig Charleton <[email protected]> wrote: > I don't use Trident but I found a package that you should make sure is a > dependantcy in your POM file of the project. Sorry if this doesn't help. > > > https://nathanmarz.github.io/storm/doc/storm/trident/state/package-summary.html > > Sent from my iPhone > > On Oct 27, 2015, at 7:56 AM, researcher cs <[email protected]> > wrote: > > can someone help on this ? > > On Mon, Oct 26, 2015 at 4:32 PM, researcher cs <[email protected]> > wrote: > >> Here what i got when compile the project >> >> by this command >> >> mvn compile exec:java -Dexec.classPathScope=compile >> -Dexec.mainClass=trident.myproject >> >> got this >> >> java.lang.NoClassDefFoundError: storm/trident/state/StateFactory >> at java.lang.Class.getDeclaredMethods0(Native Method) >> at java.lang.Class.privateGetDeclaredMethods(Class.java:2427) >> at java.lang.Class.getMethod0(Class.java:2670) >> at java.lang.Class.getMethod(Class.java:1603) >> at org.codehaus.mojo.exec.ExecJavaMojo$1.run(ExecJavaMojo.java:285) >> at java.lang.Thread.run(Thread.java:662) >> Caused by: java.lang.ClassNotFoundException: >> storm.trident.state.StateFactory >> at java.net.URLClassLoader$1.run(URLClassLoader.java:202) >> at java.security.AccessController.doPrivileged(Native Method) >> at java.net.URLClassLoader.findClass(URLClassLoader.java:190) >> at java.lang.ClassLoader.loadClass(ClassLoader.java:306) >> at java.lang.ClassLoader.loadClass(ClassLoader.java:247) >> ... 6 more >> >> INFO] >> ------------------------------------------------------------------------ >> [ERROR] BUILD ERROR >> [INFO] >> ------------------------------------------------------------------------ >> [INFO] An exception occured while executing the Java class. >> storm/trident /state/StateFactory >> >> storm.trident.state.StateFactory >> >> i reviewed the folder and can't find this class ! although i ran it >> before successfully >> >> >
