Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [utdemir@utdemir_arch bil138_4_new]$ mvn exec:java -D exec.mainClass=src/main/java/tr/edu/hacettepe/cs/b21127113/bil138_4/App.java
- [INFO] Scanning for projects...
- [INFO]
- [INFO] ------------------------------------------------------------------------
- [INFO] Building bil138_4 0.0.1-SNAPSHOT
- [INFO] ------------------------------------------------------------------------
- [INFO]
- [INFO] >>> exec-maven-plugin:1.2.1:java (default-cli) @ bil138_4 >>>
- [INFO]
- [INFO] <<< exec-maven-plugin:1.2.1:java (default-cli) @ bil138_4 <<<
- [INFO]
- [INFO] --- exec-maven-plugin:1.2.1:java (default-cli) @ bil138_4 ---
- [WARNING]
- java.lang.ClassNotFoundException: src/main/java/tr/edu/hacettepe/cs/b21127113/bil138_4/App.java
- at java.net.URLClassLoader$1.run(URLClassLoader.java:217)
- at java.security.AccessController.doPrivileged(Native Method)
- at java.net.URLClassLoader.findClass(URLClassLoader.java:205)
- at java.lang.ClassLoader.loadClass(ClassLoader.java:321)
- at java.lang.ClassLoader.loadClass(ClassLoader.java:266)
- at org.codehaus.mojo.exec.ExecJavaMojo$1.run(ExecJavaMojo.java:285)
- at java.lang.Thread.run(Thread.java:679)
- [INFO] ------------------------------------------------------------------------
- [INFO] BUILD FAILURE
- [INFO] ------------------------------------------------------------------------
- [INFO] Total time: 0.912s
- [INFO] Finished at: Sun May 13 03:13:31 EEST 2012
- [INFO] Final Memory: 5M/118M
- [INFO] ------------------------------------------------------------------------
- [ERROR] Failed to execute goal org.codehaus.mojo:exec-maven-plugin:1.2.1:java (default-cli) on project bil138_4: An exception occured while executing the Java class. src/main/java/tr/edu/hacettepe/cs/b21127113/bil138_4/App.java -> [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
Advertisement