What version of maven, and how did you install it? I use maven
constantly, and I don't know how to get that error except with a
defective installation or a very strange setting of MAVEN_OPTS.

On Sun, Apr 10, 2011 at 10:52 AM, Jeff Eastman
<[email protected]> wrote:
> Trying to run mvn on my mac (after about 6 months on a Linux box at work)
> but getting this. I seem to recall getting a new Java version update a while
> back but Java works fine. Any ideas?
>
>
> jeff-eastmans-macbook-pro:mahout jeff$ mvn
> Exception in thread "main" java.lang.NoClassDefFoundError:
> org/codehaus/plexus/classworlds/launcher/Launcher
> Caused by: java.lang.ClassNotFoundException:
> org.codehaus.plexus.classworlds.launcher.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:307)
>    at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
>    at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
>
>

Reply via email to