anders was right..setting M2_HOME to the maven deploy folder solved the problem cwd $M2_HOME/bootls *.jar plexus-classworlds-2.4.jar Cordialement.. Martin ______________________________________________
> Date: Thu, 7 Jun 2012 11:16:47 +0200 > Subject: Re: newbie example for maven > From: [email protected] > To: [email protected] > > It seems a Maven configuration problem, if you are working with Windows, > can you make : c> maven -version pour ensure thant maven is well installed > > 2012/6/7 abhijith tn <[email protected]> > > > Ensure you set the bin of Maven installation in classpath. Just google, > > setting classpath of maven. > > > > I think this should resolve the problem. > > > > On Thu, Jun 7, 2012 at 10:27 AM, Anders Hammar <[email protected]> wrote: > > > > > Have you defined the M2_HOME env variable? > > > > > > /Anders > > > > > > On Thu, Jun 7, 2012 at 9:56 AM, Yaprak Ayazoglu > > > <[email protected]> wrote: > > > > Hi, > > > > > > > > I'm trying to understand whether maven works or not. > > > > > > > > Depending on the lines below maven seems not working at all. How can I > > > fix > > > > this > > > > problem? Can you help? > > > > > > > > ya@yaprak:~$ mvn > > > > Error: Could not find or load main class > > > org.codehaus.classworlds.Launcher > > > > > > > > > > > > -- > > > > Yaprak > > > > > > --------------------------------------------------------------------- > > > To unsubscribe, e-mail: [email protected] > > > For additional commands, e-mail: [email protected] > > > > > > > > > > > > -- > > > Cordialement > > Mohamed
