Created
May 22, 2012 04:24
-
-
Save wolfeidau/2766543 to your computer and use it in GitHub Desktop.
atlas-mvn error
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ java -version | |
java version "1.6.0_31" | |
Java(TM) SE Runtime Environment (build 1.6.0_31-b04) | |
Java HotSpot(TM) 64-Bit Server VM (build 20.6-b01, mixed mode) | |
$ which atlas-mvn | |
/home/markw/Applications/atlassian-plugin-sdk-3.10.3/bin/atlas-mvn | |
$ atlas-mvn | |
Executing: /home/markw/Applications/atlassian-plugin-sdk-3.10.3/apache-maven/bin/mvn | |
Exception in thread "main" java.lang.NoClassDefFoundError: org/codehaus/classworlds/Launcher | |
Caused by: java.lang.ClassNotFoundException: org.codehaus.classworlds.Launcher | |
at java.net.URLClassLoader$1.run(URLClassLoader.java:202) | |
at java.security.AccessController.doPrivileged(Native Method) | |
at java.net.URLClassLoader.findClass(URLClassLoader.java:190) | |
at java.lang.ClassLoader.loadClass(ClassLoader.java:306) | |
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301) | |
at java.lang.ClassLoader.loadClass(ClassLoader.java:247) | |
Could not find the main class: org.codehaus.classworlds.Launcher. Program will exit. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
To resolve this I modified the bindled apache-maven/bin/mvn script by commenting out the source of mavenrc as seen below.