What kind of system are you on? For all I know, you've stumbled across
an obscure bug related to your specific environment.

Also try mvn -U to force it to find updates, perhaps you've got a
buggy Plexus-Util.

Wayne

On 3/18/08, Michael Clark <[EMAIL PROTECTED]> wrote:
> Yup same results
>
> [EMAIL PROTECTED]:~/cc/maven-2.0.8/bin> ./mvn --version
> Exception in thread "main" java.lang.IllegalAccessError: tried to access
> field hidden.org.codehaus.plexus.util.Os.OS_NAME from class
> org.apache.maven.cli.MavenCli
>        at org.apache.maven.cli.MavenCli.<clinit>(MavenCli.java:76)
>        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>        at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>        at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>        at java.lang.reflect.Method.invoke(Method.java:585)
>        at
> org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
>        at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
>        at
> org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
>        at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
>
>
>
> On Tue, 2008-03-18 at 15:22 -0500, Wayne Fay wrote:
> > Are you sure you're running the mvn binary you think you're running?
> > Try ./mvn --version instead. I'd assume you failed to update your PATH
> > etc as required.
> >
> > Wayne
> >
> > On 3/18/08, Michael Clark <[EMAIL PROTECTED]> wrote:
> > > Hi,
> > >
> > > I have been using 2,.0.7 for some time and I'm very happy I just tried a
> > > quick update to 2.0.8 and am having no luck. Any suggestions?
> > >
> > > I keep getting
> > > [EMAIL PROTECTED]:~/cc/maven-2.0.8> mvn --version
> > > Exception in thread "main" java.lang.IllegalAccessError: tried to access
> > > field hidden.org.codehaus.plexus.util.Os.OS_NAME from class
> > > org.apache.maven.cli.MavenCli
> > >        at org.apache.maven.cli.MavenCli.<clinit>(MavenCli.java:76)
> > >        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> > >        at
> > > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> > >        at
> > > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> > >        at java.lang.reflect.Method.invoke(Method.java:585)
> > >        at
> > > org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
> > >        at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
> > >        at
> > > org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
> > >        at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
> > >
> > >
> > >
> > > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > > For additional commands, e-mail: [EMAIL PROTECTED]
> > >
> > >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to