Thanks a lot. sent from a mobile device On Jul 18, 2014 2:53 PM, "Itai Frenkel" <[email protected]> wrote:
> From the error message it looks like you are running the example from > the command-line in the incubator-storm folder, instead of the > incubator-storm/examples/storm-starter folder. > ------------------------------ > *From:* uday bhaskar <[email protected]> > *Sent:* Friday, July 18, 2014 8:08 PM > *To:* [email protected] > *Subject:* trouble running storm starter > > Hi, > > I am new to Java and Storm. I am following the instructions on > https://github.com/apache/incubator-storm/tree/master/examples/storm-starter > for setting up my storm project. > > I was able to generate the storm libraries with maven. But seem to run > into trouble when try to execute the storm-starter examples. Please advise. > > mvn compile exec:java -Dstorm.topology=storm.starter.WordCountTopology > > I get the error, > > [INFO] BUILD FAILURE---------------------------------------------[ERROR] > Failed to execute goal org.codehaus.mojo:exec-maven-plugin:1.3:java > (default-cli) on project storm: The parameters 'mainClass' for goal > org.codehaus.mojo:exec-maven-plugin:1.3:java are missing or invalid -> [Help > 1][ERROR] [ERROR] To see the full stack trace of the errors, re-run Maven > with the -e switch.[ERROR] Re-run Maven using the -X switch to enable full > debug logging.[ERROR] [ERROR] For more information about the errors and > possible solutions, please read the following articles:[ERROR] [Help 1] > http://cwiki.apache.org/confluence/display/MAVEN/PluginParameterException > >
