【发布时间】:2014-05-26 16:27:39
【问题描述】:
我按照storm-starter中的步骤尝试使用命令“mvn compile exec:java -Dstorm.topology=storm.starter.WordCountTopology”从storm-starter构建一个项目。但是给出了以下错误。谁能告诉我为什么会发生这种情况以及我需要做些什么来解决这个问题?
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 3.017 s
[INFO] Finished at: 2014-05-26T11:23:54-06:00
[INFO] Final Memory: 20M/159M
[INFO] ------------------------------------------------------------------------
[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
【问题讨论】:
标签: java maven build apache-storm