[
https://issues.apache.org/jira/browse/STORM-755?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Lim Chun Yuen updated STORM-755:
--------------------------------
Labels: build exec-maven-plugin maven newbie (was: build maven newbie)
> An exception occured while executing the Java class.
> fyp-storm-try.src.jvm.Topology
> ------------------------------------------------------------------------------------
>
> Key: STORM-755
> URL: https://issues.apache.org/jira/browse/STORM-755
> Project: Apache Storm
> Issue Type: Question
> Affects Versions: 0.9.4
> Environment: Ubuntu 14.04.1 LTS (GNU/Linux 3.13.0-44-generic x86_64)
> at Amazon Web Services EC2
> Reporter: Lim Chun Yuen
> Assignee: Lim Chun Yuen
> Labels: build, exec-maven-plugin, maven, newbie
> Fix For: 0.9.4
>
>
> ubuntu@ip-10-0-0-101:~/storm/examples/fyp-storm-try$ sudo mvn exec:java -D
> storm.topology=fyp-storm-try.src.jvm.Topology
> [INFO] Scanning for projects...
> [WARNING]
> [WARNING] Some problems were encountered while building the effective model
> for org.apache.storm:fyp-storm-try:jar:0.9.4
> [WARNING] 'reporting.plugins.plugin.version' for
> org.apache.maven.plugins:maven-javadoc-plugin is missing. @
> org.apache.storm:storm:0.9.4,
> /root/.m2/repository/org/apache/storm/storm/0.9.4/storm-0.9.4.pom, line 694,
> column 21
> [WARNING] 'reporting.plugins.plugin.version' for
> org.apache.maven.plugins:maven-surefire-report-plugin is missing. @
> org.apache.storm:storm:0.9.4,
> /root/.m2/repository/org/apache/storm/storm/0.9.4/storm-0.9.4.pom, line 660,
> column 21
> [WARNING]
> [WARNING] It is highly recommended to fix these problems because they
> threaten the stability of your build.
> [WARNING]
> [WARNING] For this reason, future Maven versions might no longer support
> building such malformed projects.
> [WARNING]
> [INFO]
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Building fyp-storm-try 0.9.4
> [INFO]
> ------------------------------------------------------------------------
> [INFO]
> [INFO] >>> exec-maven-plugin:1.2.1:java (default-cli) @ fyp-storm-try >>>
> [INFO]
> [INFO] <<< exec-maven-plugin:1.2.1:java (default-cli) @ fyp-storm-try <<<
> [INFO]
> [INFO] --- exec-maven-plugin:1.2.1:java (default-cli) @ fyp-storm-try ---
> [WARNING]
> java.lang.ClassNotFoundException: fyp-storm-try.src.jvm.Topology
> at java.net.URLClassLoader$1.run(URLClassLoader.java:366)
> at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
> at java.security.AccessController.doPrivileged(Native Method)
> at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
> at java.lang.ClassLoader.loadClass(ClassLoader.java:425)
> at java.lang.ClassLoader.loadClass(ClassLoader.java:358)
> at org.codehaus.mojo.exec.ExecJavaMojo$1.run(ExecJavaMojo.java:285)
> at java.lang.Thread.run(Thread.java:745)
> [INFO]
> ------------------------------------------------------------------------
> [INFO] BUILD FAILURE
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Total time: 3.838s
> [INFO] Finished at: Sun Apr 05 09:09:28 UTC 2015
> [INFO] Final Memory: 9M/22M
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] Failed to execute goal org.codehaus.mojo:exec-maven-plugin:1.2.1:java
> (default-cli) on project fyp-storm-try: An exception occured while executing
> the Java class. fyp-storm-try.src.jvm.Topology -> [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/MojoExecutionException
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)