You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@storm.apache.org by researcher cs <pr...@gmail.com> on 2014/01/13 04:56:38 UTC

problem in storm jar

i need your help in this problem
after installation storm well
what's the useful of using maven ?
i used it and i built storm-starter successfully
but is it create a jar file after building ?

and when i used
st@ubuntu:~/storm-0.8.2$ bin/storm jar storm-starter.jar
storm.starter.WordCountTopology wordcount

got this

Caused by: java.lang.ClassNotFoundException:
storm.starter.WordCountTopology at java.net.URLClassLoader$1.run(Unknown
Source) at java.security.AccessController.doPrivileged(Native Method) at
java.net.URLClassLoader.findClass(Unknown Source) at
java.lang.ClassLoader.loadClass(Unknown Source) at
sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source) at
java.lang.ClassLoader.loadClass(Unknown Source) Could not find the main
class: storm.starter.WordCountTopology. Program will exit.

and when i used this command

st@ubuntu:~/storm-0.8.2$ mvn -version

got this

Apache Maven 2.2.1 (rdebian-8) Java version: 1.6.0_38 Java home:
/usr/lib/jvm/jdk1.6.0_38/jre Default locale: en_US, platform encoding:
UTF-8 OS name: "linux" version: "3.5.0-23-generic" arch: "i386" Family:
"unix"
*Choose a sticker or
emoticon*<https://www.facebook.com/messages/samar.mohamed.11#>