Every time Apple updates the jdk I have these kinds of problems. I'm
just going to switch back to my linux box for today and punt this exercise
On 4/10/11 8:47 AM, Benson Margulies wrote:
Well, I'd use sh -x to run the mvn command and see what on earth it's
doing. It seems to have left a critical piece of the maven core out of
the class path.
On Sun, Apr 10, 2011 at 11:45 AM, Jeff Eastman
<[email protected]> wrote:
I've reinstalled mvn 2.2.1 and also 3.0.3. Going to each bin and running mvn
from there causes the same problem. Must be my new jdk is lost in space but
java --version works and is 1.6.0_24
On 4/10/11 8:41 AM, Benson Margulies wrote:
Do you have a creative settings of JAVA_HOME or a ~/.m2-something?
On Sun, Apr 10, 2011 at 11:35 AM, Jeff Eastman
<[email protected]> wrote:
Maven 2.2.1 and it has been working until recently. I installed a recent
Mac
upgrade with new jdk but java is working normally.
On 4/10/11 8:17 AM, Benson Margulies wrote:
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)