Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- senpaisilver@ovh:Communication-server$> mvn exec:java -Dexec.mainClass="codeandlearn.commserver.Main"
- [INFO] Scanning for projects...
- [INFO]
- [INFO] ------------------------------------------------------------------------
- [INFO] Building commserver 0.0.1-SNAPSHOT
- [INFO] ------------------------------------------------------------------------
- [INFO]
- [INFO] --- exec-maven-plugin:1.5.0:java (default-cli) @ commserver ---
- [WARNING]
- java.lang.ClassNotFoundException: codeandlearn.commserver.Main
- at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
- at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
- at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
- at org.codehaus.mojo.exec.ExecJavaMojo$1.run(ExecJavaMojo.java:281)
- at java.lang.Thread.run(Thread.java:745)
- [INFO] ------------------------------------------------------------------------
- [INFO] BUILD FAILURE
- [INFO] ------------------------------------------------------------------------
- [INFO] Total time: 4.521s
- [INFO] Finished at: Sun May 22 19:40:36 CEST 2016
- [INFO] Final Memory: 9M/108M
- [INFO] ------------------------------------------------------------------------
- [ERROR] Failed to execute goal org.codehaus.mojo:exec-maven-plugin:1.5.0:java (default-cli) on project commserver: An exception occured while executing the Java class. codeandlearn.commserver.Main -> [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
Advertisement
Add Comment
Please, Sign In to add comment