Ubuntu Apache Storm jar Error: Could not find or load main class storm.starter -


i following https://github.com/apache/storm/tree/master/examples/storm-starter . i'm using ubuntu 14.04 lts on vmware.

i can run mvn exec:java -d storm.topology=storm.starter.rollingtopwords in /home/user/storm/examples/storm-starter directory smoothly without problem. can't run in apache storm.

i had storm-starter-topologies-0.9.3.jar in /home/user/storm/examples/storm-starter directory. had storm-starter-0.9.3.jar & storm-starter-0.9.3-jar-with-dependencies.jar in /home/user/storm/examples/storm-starter/target directory.

below commands tried before in /home/user/storm/bin directory:

./storm jar storm-starter-*.jar storm.starter.rollingtopwords  ./storm jar storm-starter-0.9.3-jar-with-dependencies.jar storm.starter.rollingtopwords  ./storm jar storm-starter-jar-with-dependencies.jar storm.starter.rollingtopwords  ./storm jar storm-starter-topologies-0.9.3.jar storm.starter.rollingtopwords 

with topology name:

./storm jar storm-starter-0.9.3-jar-with-dependencies.jar storm.starter.rollingtopwords slidingwindowcounts  ./storm jar storm-starter-jar-with-dependencies.jar storm.starter.rollingtopwords slidingwindowcounts  ./storm jar storm-starter-topologies-0.9.3.jar storm.starter.rollingtopwords slidingwindowcounts   ./storm jar storm-starter-0.9.3-jar storm.starter.rollingtopwords slidingwindowcounts  

all end same error: error: not find or load main class storm.starter.rollingtopwords .

all class in /home/user/storm/examples/storm-starter/target/classes/storm/starter directory rollingtopwords.class present in directory.

how should solve problem? detail solution helpful.

problem solved. problem arise because storm jar run @ incorrect directory. should run @ /home/user/storm/examples/storm-starter/target directory since storm-starter-0.9.3-jar-with-dependencies.jar in directory.