PlanetJava
Custom Search

java-clojure-storm
[Top] [All Lists]

Class not found when running storm-starter

Subject: Class not found when running storm-starter
Date: Thu, 16 Aug 2012 16:56:32 -0700 (PDT)
Hi --
I cloned the latest storm-starter and built the .jar. I am getting the 
following:
~/Repos/storm-starter% java -cp 
target/storm-starter-0.0.1-SNAPSHOT-jar-with-dependencies.jar 
storm.starter.ExclamationTopology      [22]
Exception in thread "main" java.lang.NoClassDefFoundError: 
backtype/storm/topology/IRichSpout
at java.lang.Class.getDeclaredMethods0(Native Method)
at java.lang.Class.privateGetDeclaredMethods(Class.java:2442)
at java.lang.Class.getMethod0(Class.java:2685)
at java.lang.Class.getMethod(Class.java:1620)
at sun.launcher.LauncherHelper.getMainMethod(LauncherHelper.java:492)
at sun.launcher.LauncherHelper.checkAndLoadMain(LauncherHelper.java:484)
There's an older query (Jan 23) about a similar problem, and the fix was to 
use storm 0.6.2 in the dependencies. The current pom file refers to 0.8.0 
so that answer no longer applies. FWIW I've tried compiling against an 
older version (0.7.4.) which failed with compilation problems. Please 
advise.
Thanks,
-D
msgmiddle
<Prev in Thread] Current Thread [Next in Thread>
  • Class not found when running storm-starter,
Current Sitemap | © 2012 planetjava | Contact | Privacy Policy