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

Reply via email to