My mistake. I just realized that I installed maven in /usr/local/maven-2.0.4and my M2_HOME variable is /usr/local/lib/maven- 2.0.4. That should be the problem. Sorry about that and thanks for your time.
2007/1/16, franz see <[EMAIL PROTECTED]>:
Good day, Kindly verify that you have $M2_HOME\core\boot\classworlds-1.1.jar. Cheers, Franz Sebastien Arbogast wrote: > > I have exactly the same Exception popping up and my environment variables > are correctly set: > > [EMAIL PROTECTED]:~# mvn --version > Exception in thread "main" java.lang.NoClassDefFoundError: > org/codehaus/classworlds/Launcher > [EMAIL PROTECTED]:~# echo $M2_HOME > /usr/local/lib/maven-2.0.4 > [EMAIL PROTECTED]:~# echo $JAVA_HOME > /usr/lib/jvm/java-1.5.0-sun > > What else could it be? > > > Neeraj Bisht wrote: >> >> you have not set java_home or maven home >> >> On 12/6/06, Dheeraj Agrawal <[EMAIL PROTECTED]> wrote: >>> >>> Hi, >>> >>> I just downloaded the bin tar ball for maven. >>> Extracted it and now trying to run it. >>> But I am getting the following error. >>> >>> [EMAIL PROTECTED]:~/maven-2.0/bin$ ./mvn >>> Exception in thread "main" java.lang.NoClassDefFoundError: >>> org/codehaus/classworlds/Launcher >>> >>> >>> I had installed this earlier also but never got such an error. >>> >>> Thanks >>> dheeraj >>> >>> >> >> > > -- View this message in context: http://www.nabble.com/Error-in-running-mvn-tf2764641s177.html#a8384398 Sent from the Maven - Users mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
-- Sébastien Arbogast http://www.sebastien-arbogast.com