Advertisement
Guest User

Untitled

a guest
May 12th, 2012
504
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.20 KB | None | 0 0
  1. [utdemir@utdemir_arch bil138_4_new]$ mvn exec:java -D exec.mainClass=src/main/java/tr/edu/hacettepe/cs/b21127113/bil138_4/App.java
  2. [INFO] Scanning for projects...
  3. [INFO]
  4. [INFO] ------------------------------------------------------------------------
  5. [INFO] Building bil138_4 0.0.1-SNAPSHOT
  6. [INFO] ------------------------------------------------------------------------
  7. [INFO]
  8. [INFO] >>> exec-maven-plugin:1.2.1:java (default-cli) @ bil138_4 >>>
  9. [INFO]
  10. [INFO] <<< exec-maven-plugin:1.2.1:java (default-cli) @ bil138_4 <<<
  11. [INFO]
  12. [INFO] --- exec-maven-plugin:1.2.1:java (default-cli) @ bil138_4 ---
  13. [WARNING]
  14. java.lang.ClassNotFoundException: src/main/java/tr/edu/hacettepe/cs/b21127113/bil138_4/App.java
  15. at java.net.URLClassLoader$1.run(URLClassLoader.java:217)
  16. at java.security.AccessController.doPrivileged(Native Method)
  17. at java.net.URLClassLoader.findClass(URLClassLoader.java:205)
  18. at java.lang.ClassLoader.loadClass(ClassLoader.java:321)
  19. at java.lang.ClassLoader.loadClass(ClassLoader.java:266)
  20. at org.codehaus.mojo.exec.ExecJavaMojo$1.run(ExecJavaMojo.java:285)
  21. at java.lang.Thread.run(Thread.java:679)
  22. [INFO] ------------------------------------------------------------------------
  23. [INFO] BUILD FAILURE
  24. [INFO] ------------------------------------------------------------------------
  25. [INFO] Total time: 0.912s
  26. [INFO] Finished at: Sun May 13 03:13:31 EEST 2012
  27. [INFO] Final Memory: 5M/118M
  28. [INFO] ------------------------------------------------------------------------
  29. [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]
  30. [ERROR]
  31. [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
  32. [ERROR] Re-run Maven using the -X switch to enable full debug logging.
  33. [ERROR]
  34. [ERROR] For more information about the errors and possible solutions, please read the following articles:
  35. [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement