Andre M wrote:

I just upgraded to Maven3 from Maven2 today, and when I run "mvn.bat
-version", this is what I see:
[...]
             at
org.apache.maven.cli.MavenCli.buildSettings(MavenCli.java:402)

             at org.apache.maven.cli.MavenCli.main(MavenCli.java:202)

             at org.apache.maven.cli.MavenCli.main(MavenCli.java:100)

             at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

             at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)

             at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown
Source)

             at java.lang.reflect.Method.invoke(Unknown Source)

             at
org.codehaus.plexus.classworlds.launcher.Launcher.launchStandard(Launcher.java:329)

             at
org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:239)

             at
org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:409)

             at
org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:352)

This stack trace mentions classes which are exclusive to Maven 3.x or Maven 2.x, respectively. So you don't appear to be running a clean Maven 3 distribution (unpacked Maven 3 on top of Maven 2?). Nuking your current Maven installation and re-downloading the distro might help.


Benjamin

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to