You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by Jason van Zyl <ja...@maven.org> on 2007/06/06 17:11:49 UTC

Surefire (Fwd: NoSuchMethodError with surefire-booter-2.3.1-20070606.032942-4)

Just making sure Kenney and Brett see this as I'm currently trying to  
find a problem with surefire and 2.0.7 which is a show stopper.

Begin forwarded message:

> From: "Ole-Martin Mørk" <ol...@gmail.com>
> Date: June 6, 2007 5:26:03 AM EDT (CA)
> To: "Maven Users List" <us...@maven.apache.org>
> Subject: NoSuchMethodError with surefire- 
> booter-2.3.1-20070606.032942-4
> Reply-To: "Maven Users List" <us...@maven.apache.org>
>
> [INFO] Trace
> java.lang.NoSuchMethodError:
> org.apache.maven.surefire.booter.SurefireBooter.setUseSystemClassLoade 
> r(Z)V
>        at
> org.apache.maven.plugin.surefire.SurefirePlugin.constructSurefireBoote 
> r(
> SurefirePlugin.java:684)
>        at org.apache.maven.plugin.surefire.SurefirePlugin.execute(
> SurefirePlugin.java:391)
>        at org.apache.maven.plugin.DefaultPluginManager.executeMojo(
> DefaultPluginManager.java:412)
>        at  
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(
> DefaultLifecycleExecutor.java:534)
>        at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLif 
> ecycle
> (DefaultLifecycleExecutor.java:475)
>        at  
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(
> DefaultLifecycleExecutor.java:454)
>        at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHand 
> leFailures
> (DefaultLifecycleExecutor.java:306)
>        at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegment 
> s(
> DefaultLifecycleExecutor.java:273)
>        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(
> DefaultLifecycleExecutor.java:140)
>        at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java: 
> 322)
>        at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:115)
>        at org.apache.maven.cli.MavenCli.main(MavenCli.java:256)
>        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)
>
> Maven version: 2.0.4
>
> java version "1.6.0_01"
> Java(TM) SE Runtime Environment (build 1.6.0_01-b06)
> Java HotSpot(TM) Client VM (build 1.6.0_01-b06, mixed mode, sharing)
>
> AND
>
> java version "1.5.0_06"
> Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_06-b05)
> Java HotSpot(TM) Client VM (build 1.5.0_06-b05, mixed mode, sharing)
>
> -- 
> Regards, Ole-Martin Mørk.

Thanks,

Jason

----------------------------------------------------------
Jason van Zyl
Founder and PMC Chair, Apache Maven
jason at sonatype dot com
----------------------------------------------------------




---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


Re: Surefire (Fwd: NoSuchMethodError with surefire-booter-2.3.1-20070606.032942-4)

Posted by Kenney Westerhof <ke...@apache.org>.
I'm on top of it, thanks for the pointer.

I think someone deployed the booter and not the plugin or vice versa.
just redeployed 2.3.1-snappy

-- Kenney

Jason van Zyl wrote:
> Just making sure Kenney and Brett see this as I'm currently trying to 
> find a problem with surefire and 2.0.7 which is a show stopper.
> 
> Begin forwarded message:
> 
>> From: "Ole-Martin Mørk" <ol...@gmail.com>
>> Date: June 6, 2007 5:26:03 AM EDT (CA)
>> To: "Maven Users List" <us...@maven.apache.org>
>> Subject: NoSuchMethodError with surefire-booter-2.3.1-20070606.032942-4
>> Reply-To: "Maven Users List" <us...@maven.apache.org>
>>
>> [INFO] Trace
>> java.lang.NoSuchMethodError:
>> org.apache.maven.surefire.booter.SurefireBooter.setUseSystemClassLoader(Z)V 
>>
>>        at
>> org.apache.maven.plugin.surefire.SurefirePlugin.constructSurefireBooter(
>> SurefirePlugin.java:684)
>>        at org.apache.maven.plugin.surefire.SurefirePlugin.execute(
>> SurefirePlugin.java:391)
>>        at org.apache.maven.plugin.DefaultPluginManager.executeMojo(
>> DefaultPluginManager.java:412)
>>        at 
>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(
>> DefaultLifecycleExecutor.java:534)
>>        at
>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle 
>>
>> (DefaultLifecycleExecutor.java:475)
>>        at 
>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(
>> DefaultLifecycleExecutor.java:454)
>>        at
>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures 
>>
>> (DefaultLifecycleExecutor.java:306)
>>        at
>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(
>> DefaultLifecycleExecutor.java:273)
>>        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(
>> DefaultLifecycleExecutor.java:140)
>>        at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:322)
>>        at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:115)
>>        at org.apache.maven.cli.MavenCli.main(MavenCli.java:256)
>>        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)
>>
>> Maven version: 2.0.4
>>
>> java version "1.6.0_01"
>> Java(TM) SE Runtime Environment (build 1.6.0_01-b06)
>> Java HotSpot(TM) Client VM (build 1.6.0_01-b06, mixed mode, sharing)
>>
>> AND
>>
>> java version "1.5.0_06"
>> Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_06-b05)
>> Java HotSpot(TM) Client VM (build 1.5.0_06-b05, mixed mode, sharing)
>>
>> -- 
>> Regards, Ole-Martin Mørk.
> 
> Thanks,
> 
> Jason
> 
> ----------------------------------------------------------
> Jason van Zyl
> Founder and PMC Chair, Apache Maven
> jason at sonatype dot com
> ----------------------------------------------------------
> 
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
> For additional commands, e-mail: dev-help@maven.apache.org
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


Re: Surefire (Fwd: NoSuchMethodError with surefire-booter-2.3.1-20070606.032942-4)

Posted by Kenney Westerhof <ke...@apache.org>.
Hi,

I just found and fixed the bug after doing some testing of all possible config values
for 2.3.1-snap and 2.4-snap.

fix is in svn, i redeployed surefirebooter for 2.4 and 2.3.1, so everything should
be peachy now.

Turns out the '!' character was missing somewhere ;)

-- Kenney


Jason van Zyl wrote:
> Just making sure Kenney and Brett see this as I'm currently trying to 
> find a problem with surefire and 2.0.7 which is a show stopper.
> 
> Begin forwarded message:
> 
>> From: "Ole-Martin Mørk" <ol...@gmail.com>
>> Date: June 6, 2007 5:26:03 AM EDT (CA)
>> To: "Maven Users List" <us...@maven.apache.org>
>> Subject: NoSuchMethodError with surefire-booter-2.3.1-20070606.032942-4
>> Reply-To: "Maven Users List" <us...@maven.apache.org>
>>
>> [INFO] Trace
>> java.lang.NoSuchMethodError:
>> org.apache.maven.surefire.booter.SurefireBooter.setUseSystemClassLoader(Z)V 
>>
>>        at
>> org.apache.maven.plugin.surefire.SurefirePlugin.constructSurefireBooter(
>> SurefirePlugin.java:684)
>>        at org.apache.maven.plugin.surefire.SurefirePlugin.execute(
>> SurefirePlugin.java:391)
>>        at org.apache.maven.plugin.DefaultPluginManager.executeMojo(
>> DefaultPluginManager.java:412)
>>        at 
>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(
>> DefaultLifecycleExecutor.java:534)
>>        at
>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle 
>>
>> (DefaultLifecycleExecutor.java:475)
>>        at 
>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(
>> DefaultLifecycleExecutor.java:454)
>>        at
>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures 
>>
>> (DefaultLifecycleExecutor.java:306)
>>        at
>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(
>> DefaultLifecycleExecutor.java:273)
>>        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(
>> DefaultLifecycleExecutor.java:140)
>>        at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:322)
>>        at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:115)
>>        at org.apache.maven.cli.MavenCli.main(MavenCli.java:256)
>>        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)
>>
>> Maven version: 2.0.4
>>
>> java version "1.6.0_01"
>> Java(TM) SE Runtime Environment (build 1.6.0_01-b06)
>> Java HotSpot(TM) Client VM (build 1.6.0_01-b06, mixed mode, sharing)
>>
>> AND
>>
>> java version "1.5.0_06"
>> Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_06-b05)
>> Java HotSpot(TM) Client VM (build 1.5.0_06-b05, mixed mode, sharing)
>>
>> -- 
>> Regards, Ole-Martin Mørk.
> 
> Thanks,
> 
> Jason
> 
> ----------------------------------------------------------
> Jason van Zyl
> Founder and PMC Chair, Apache Maven
> jason at sonatype dot com
> ----------------------------------------------------------
> 
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
> For additional commands, e-mail: dev-help@maven.apache.org
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org