You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Wim Deblauwe (JIRA)" <ji...@codehaus.org> on 2007/05/16 11:27:58 UTC
[jira] Created: (SUREFIRE-328) java.lang.NoClassDefFoundError:
org/apache/maven/surefire/util/NestedRuntimeException
java.lang.NoClassDefFoundError: org/apache/maven/surefire/util/NestedRuntimeException
-------------------------------------------------------------------------------------
Key: SUREFIRE-328
URL: http://jira.codehaus.org/browse/SUREFIRE-328
Project: Maven Surefire
Issue Type: Bug
Components: TestNG support
Affects Versions: 2.4
Environment: Windows XP
Maven 2.0.6
Reporter: Wim Deblauwe
I just updated my surefire 2.4-SNAPSHOT plugin, but now I cannot build anymore. I get a NoClassDefFoundError: org/apache/maven/surefire/util/NestedRuntimeException. This is the console output with the -e option:
>mvn -e clean test
[INFO] [surefire:test]
[INFO] Surefire report directory: C:\personal\vigilog\target\surefire-reports
java.lang.NoClassDefFoundError: org/apache/maven/surefire/util/NestedRuntimeException
Exception in thread "main"
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] There are test failures.
[INFO] ------------------------------------------------------------------------
[INFO] Trace
org.apache.maven.BuildFailureException: There are test failures.
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals (DefaultLifecycleExecutor.java:560)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:480)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal (DefaultLifecycleExecutor.java:459)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:311)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments (DefaultLifecycleExecutor.java:278)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:143)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:334)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:125)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:272)
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:597)
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)
Caused by: org.apache.maven.plugin.MojoFailureException: There are test failures.
at org.apache.maven.plugin.surefire.SurefirePlugin.execute (SurefirePlugin.java:413)
at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:443)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java :539)
... 16 more
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 6 seconds
[INFO] Finished at: Mon May 14 10:45:43 CEST 2007
[INFO] Final Memory: 8M/25M
[INFO] ------------------------------------------------------------------------
I'm using the snapshot release because I use TestNG 5.5. Any solution to make my build work again would be highly appriciated.
regards,
Wim
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] Commented: (SUREFIRE-328) java.lang.NoClassDefFoundError:
org/apache/maven/surefire/util/NestedRuntimeException
Posted by "Jerome Lacoste (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/SUREFIRE-328?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_117868 ]
Jerome Lacoste commented on SUREFIRE-328:
-----------------------------------------
Dan,
I don't manage to reproduce this failure anymore. The only thing I took note of is that in my mvn.log file, surefire was resolved to 2.4-20071211.083739-20 while the other surefire modules were resolved to 2.4-20071220... Not sure if that could be a reason. I doubt.
As a sidenote, I had managed to reproduce the compilation failure with JarUnsignMojo, but only sporadically. Now I can't anymore. A very strange week on the reproducibility side of maven... I don't like that at all. MWEBSTART-82 if you're curious.
> java.lang.NoClassDefFoundError: org/apache/maven/surefire/util/NestedRuntimeException
> -------------------------------------------------------------------------------------
>
> Key: SUREFIRE-328
> URL: http://jira.codehaus.org/browse/SUREFIRE-328
> Project: Maven Surefire
> Issue Type: Bug
> Components: TestNG support
> Affects Versions: 2.4
> Environment: Windows XP
> Maven 2.0.6
> Reporter: Wim Deblauwe
> Attachments: mvn.log
>
>
> I just updated my surefire 2.4-SNAPSHOT plugin, but now I cannot build anymore. I get a NoClassDefFoundError: org/apache/maven/surefire/util/NestedRuntimeException. This is the console output with the -e option:
> >mvn -e clean test
> [INFO] [surefire:test]
> [INFO] Surefire report directory: C:\personal\vigilog\target\surefire-reports
> java.lang.NoClassDefFoundError: org/apache/maven/surefire/util/NestedRuntimeException
> Exception in thread "main"
> [INFO] ------------------------------------------------------------------------
> [ERROR] BUILD FAILURE
> [INFO] ------------------------------------------------------------------------
> [INFO] There are test failures.
> [INFO] ------------------------------------------------------------------------
> [INFO] Trace
> org.apache.maven.BuildFailureException: There are test failures.
> at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals (DefaultLifecycleExecutor.java:560)
> at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:480)
> at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal (DefaultLifecycleExecutor.java:459)
> at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:311)
> at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments (DefaultLifecycleExecutor.java:278)
> at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:143)
> at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:334)
> at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:125)
> at org.apache.maven.cli.MavenCli.main(MavenCli.java:272)
> 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:597)
> 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)
> Caused by: org.apache.maven.plugin.MojoFailureException: There are test failures.
> at org.apache.maven.plugin.surefire.SurefirePlugin.execute (SurefirePlugin.java:413)
> at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:443)
> at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java :539)
> ... 16 more
> [INFO] ------------------------------------------------------------------------
> [INFO] Total time: 6 seconds
> [INFO] Finished at: Mon May 14 10:45:43 CEST 2007
> [INFO] Final Memory: 8M/25M
> [INFO] ------------------------------------------------------------------------
> I'm using the snapshot release because I use TestNG 5.5. Any solution to make my build work again would be highly appriciated.
> regards,
> Wim
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] Commented: (SUREFIRE-328) java.lang.NoClassDefFoundError:
org/apache/maven/surefire/util/NestedRuntimeException
Posted by "Dan Fabulich (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/SUREFIRE-328?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_117515 ]
Dan Fabulich commented on SUREFIRE-328:
---------------------------------------
Good point about the surefire booter jar. I've filed SUREFIRE-418 on that.
> java.lang.NoClassDefFoundError: org/apache/maven/surefire/util/NestedRuntimeException
> -------------------------------------------------------------------------------------
>
> Key: SUREFIRE-328
> URL: http://jira.codehaus.org/browse/SUREFIRE-328
> Project: Maven Surefire
> Issue Type: Bug
> Components: TestNG support
> Affects Versions: 2.4
> Environment: Windows XP
> Maven 2.0.6
> Reporter: Wim Deblauwe
> Fix For: 2.4
>
> Attachments: mvn.log
>
>
> I just updated my surefire 2.4-SNAPSHOT plugin, but now I cannot build anymore. I get a NoClassDefFoundError: org/apache/maven/surefire/util/NestedRuntimeException. This is the console output with the -e option:
> >mvn -e clean test
> [INFO] [surefire:test]
> [INFO] Surefire report directory: C:\personal\vigilog\target\surefire-reports
> java.lang.NoClassDefFoundError: org/apache/maven/surefire/util/NestedRuntimeException
> Exception in thread "main"
> [INFO] ------------------------------------------------------------------------
> [ERROR] BUILD FAILURE
> [INFO] ------------------------------------------------------------------------
> [INFO] There are test failures.
> [INFO] ------------------------------------------------------------------------
> [INFO] Trace
> org.apache.maven.BuildFailureException: There are test failures.
> at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals (DefaultLifecycleExecutor.java:560)
> at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:480)
> at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal (DefaultLifecycleExecutor.java:459)
> at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:311)
> at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments (DefaultLifecycleExecutor.java:278)
> at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:143)
> at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:334)
> at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:125)
> at org.apache.maven.cli.MavenCli.main(MavenCli.java:272)
> 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:597)
> 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)
> Caused by: org.apache.maven.plugin.MojoFailureException: There are test failures.
> at org.apache.maven.plugin.surefire.SurefirePlugin.execute (SurefirePlugin.java:413)
> at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:443)
> at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java :539)
> ... 16 more
> [INFO] ------------------------------------------------------------------------
> [INFO] Total time: 6 seconds
> [INFO] Finished at: Mon May 14 10:45:43 CEST 2007
> [INFO] Final Memory: 8M/25M
> [INFO] ------------------------------------------------------------------------
> I'm using the snapshot release because I use TestNG 5.5. Any solution to make my build work again would be highly appriciated.
> regards,
> Wim
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] Commented: (SUREFIRE-328) java.lang.NoClassDefFoundError:
org/apache/maven/surefire/util/NestedRuntimeException
Posted by "uwe schaefer (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/SUREFIRE-328?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_97932 ]
uwe schaefer commented on SUREFIRE-328:
---------------------------------------
we´re having exactly the same problem.
> java.lang.NoClassDefFoundError: org/apache/maven/surefire/util/NestedRuntimeException
> -------------------------------------------------------------------------------------
>
> Key: SUREFIRE-328
> URL: http://jira.codehaus.org/browse/SUREFIRE-328
> Project: Maven Surefire
> Issue Type: Bug
> Components: TestNG support
> Affects Versions: 2.4
> Environment: Windows XP
> Maven 2.0.6
> Reporter: Wim Deblauwe
> Fix For: 2.4
>
>
> I just updated my surefire 2.4-SNAPSHOT plugin, but now I cannot build anymore. I get a NoClassDefFoundError: org/apache/maven/surefire/util/NestedRuntimeException. This is the console output with the -e option:
> >mvn -e clean test
> [INFO] [surefire:test]
> [INFO] Surefire report directory: C:\personal\vigilog\target\surefire-reports
> java.lang.NoClassDefFoundError: org/apache/maven/surefire/util/NestedRuntimeException
> Exception in thread "main"
> [INFO] ------------------------------------------------------------------------
> [ERROR] BUILD FAILURE
> [INFO] ------------------------------------------------------------------------
> [INFO] There are test failures.
> [INFO] ------------------------------------------------------------------------
> [INFO] Trace
> org.apache.maven.BuildFailureException: There are test failures.
> at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals (DefaultLifecycleExecutor.java:560)
> at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:480)
> at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal (DefaultLifecycleExecutor.java:459)
> at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:311)
> at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments (DefaultLifecycleExecutor.java:278)
> at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:143)
> at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:334)
> at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:125)
> at org.apache.maven.cli.MavenCli.main(MavenCli.java:272)
> 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:597)
> 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)
> Caused by: org.apache.maven.plugin.MojoFailureException: There are test failures.
> at org.apache.maven.plugin.surefire.SurefirePlugin.execute (SurefirePlugin.java:413)
> at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:443)
> at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java :539)
> ... 16 more
> [INFO] ------------------------------------------------------------------------
> [INFO] Total time: 6 seconds
> [INFO] Finished at: Mon May 14 10:45:43 CEST 2007
> [INFO] Final Memory: 8M/25M
> [INFO] ------------------------------------------------------------------------
> I'm using the snapshot release because I use TestNG 5.5. Any solution to make my build work again would be highly appriciated.
> regards,
> Wim
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] Commented: (SUREFIRE-328) java.lang.NoClassDefFoundError:
org/apache/maven/surefire/util/NestedRuntimeException
Posted by "Jerome Lacoste (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/SUREFIRE-328?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_117508 ]
Jerome Lacoste commented on SUREFIRE-328:
-----------------------------------------
Not sure if they are related.
But a simple thing that might help me to troubleshoot further would be to still have access to the temporary jars created by the surefire-booter.
http://svn.apache.org/viewvc/maven/surefire/trunk/surefire-booter/src/main/java/org/apache/maven/surefire/booter/ForkConfiguration.java?revision=602583&view=markup
File file = File.createTempFile( "surefirebooter", ".jar" );
file.deleteOnExit();
if this deleteOnExit() could be disabled from the command line, then I would be able to check the temporary jars and/or try to reproduce the executed command manually.
> java.lang.NoClassDefFoundError: org/apache/maven/surefire/util/NestedRuntimeException
> -------------------------------------------------------------------------------------
>
> Key: SUREFIRE-328
> URL: http://jira.codehaus.org/browse/SUREFIRE-328
> Project: Maven Surefire
> Issue Type: Bug
> Components: TestNG support
> Affects Versions: 2.4
> Environment: Windows XP
> Maven 2.0.6
> Reporter: Wim Deblauwe
> Fix For: 2.4
>
> Attachments: mvn.log
>
>
> I just updated my surefire 2.4-SNAPSHOT plugin, but now I cannot build anymore. I get a NoClassDefFoundError: org/apache/maven/surefire/util/NestedRuntimeException. This is the console output with the -e option:
> >mvn -e clean test
> [INFO] [surefire:test]
> [INFO] Surefire report directory: C:\personal\vigilog\target\surefire-reports
> java.lang.NoClassDefFoundError: org/apache/maven/surefire/util/NestedRuntimeException
> Exception in thread "main"
> [INFO] ------------------------------------------------------------------------
> [ERROR] BUILD FAILURE
> [INFO] ------------------------------------------------------------------------
> [INFO] There are test failures.
> [INFO] ------------------------------------------------------------------------
> [INFO] Trace
> org.apache.maven.BuildFailureException: There are test failures.
> at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals (DefaultLifecycleExecutor.java:560)
> at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:480)
> at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal (DefaultLifecycleExecutor.java:459)
> at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:311)
> at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments (DefaultLifecycleExecutor.java:278)
> at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:143)
> at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:334)
> at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:125)
> at org.apache.maven.cli.MavenCli.main(MavenCli.java:272)
> 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:597)
> 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)
> Caused by: org.apache.maven.plugin.MojoFailureException: There are test failures.
> at org.apache.maven.plugin.surefire.SurefirePlugin.execute (SurefirePlugin.java:413)
> at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:443)
> at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java :539)
> ... 16 more
> [INFO] ------------------------------------------------------------------------
> [INFO] Total time: 6 seconds
> [INFO] Finished at: Mon May 14 10:45:43 CEST 2007
> [INFO] Final Memory: 8M/25M
> [INFO] ------------------------------------------------------------------------
> I'm using the snapshot release because I use TestNG 5.5. Any solution to make my build work again would be highly appriciated.
> regards,
> Wim
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] Closed: (SUREFIRE-328) java.lang.NoClassDefFoundError:
org/apache/maven/surefire/util/NestedRuntimeException
Posted by "Dan Fabulich (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/SUREFIRE-328?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Dan Fabulich closed SUREFIRE-328.
---------------------------------
Resolution: Cannot Reproduce
Fix Version/s: (was: 2.4)
I pulled down that exact revision and ran "mvn clean test" in the plugin directory. The compile failed because JarUnsignMojo wasn't throwing an IOException correctly. When I fixed the compile error, the tests ran and passed.
> java.lang.NoClassDefFoundError: org/apache/maven/surefire/util/NestedRuntimeException
> -------------------------------------------------------------------------------------
>
> Key: SUREFIRE-328
> URL: http://jira.codehaus.org/browse/SUREFIRE-328
> Project: Maven Surefire
> Issue Type: Bug
> Components: TestNG support
> Affects Versions: 2.4
> Environment: Windows XP
> Maven 2.0.6
> Reporter: Wim Deblauwe
> Attachments: mvn.log
>
>
> I just updated my surefire 2.4-SNAPSHOT plugin, but now I cannot build anymore. I get a NoClassDefFoundError: org/apache/maven/surefire/util/NestedRuntimeException. This is the console output with the -e option:
> >mvn -e clean test
> [INFO] [surefire:test]
> [INFO] Surefire report directory: C:\personal\vigilog\target\surefire-reports
> java.lang.NoClassDefFoundError: org/apache/maven/surefire/util/NestedRuntimeException
> Exception in thread "main"
> [INFO] ------------------------------------------------------------------------
> [ERROR] BUILD FAILURE
> [INFO] ------------------------------------------------------------------------
> [INFO] There are test failures.
> [INFO] ------------------------------------------------------------------------
> [INFO] Trace
> org.apache.maven.BuildFailureException: There are test failures.
> at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals (DefaultLifecycleExecutor.java:560)
> at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:480)
> at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal (DefaultLifecycleExecutor.java:459)
> at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:311)
> at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments (DefaultLifecycleExecutor.java:278)
> at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:143)
> at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:334)
> at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:125)
> at org.apache.maven.cli.MavenCli.main(MavenCli.java:272)
> 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:597)
> 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)
> Caused by: org.apache.maven.plugin.MojoFailureException: There are test failures.
> at org.apache.maven.plugin.surefire.SurefirePlugin.execute (SurefirePlugin.java:413)
> at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:443)
> at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java :539)
> ... 16 more
> [INFO] ------------------------------------------------------------------------
> [INFO] Total time: 6 seconds
> [INFO] Finished at: Mon May 14 10:45:43 CEST 2007
> [INFO] Final Memory: 8M/25M
> [INFO] ------------------------------------------------------------------------
> I'm using the snapshot release because I use TestNG 5.5. Any solution to make my build work again would be highly appriciated.
> regards,
> Wim
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] Updated: (SUREFIRE-328) java.lang.NoClassDefFoundError:
org/apache/maven/surefire/util/NestedRuntimeException
Posted by "Brett Porter (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/SUREFIRE-328?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Brett Porter updated SUREFIRE-328:
----------------------------------
Fix Version/s: 2.4
> java.lang.NoClassDefFoundError: org/apache/maven/surefire/util/NestedRuntimeException
> -------------------------------------------------------------------------------------
>
> Key: SUREFIRE-328
> URL: http://jira.codehaus.org/browse/SUREFIRE-328
> Project: Maven Surefire
> Issue Type: Bug
> Components: TestNG support
> Affects Versions: 2.4
> Environment: Windows XP
> Maven 2.0.6
> Reporter: Wim Deblauwe
> Fix For: 2.4
>
>
> I just updated my surefire 2.4-SNAPSHOT plugin, but now I cannot build anymore. I get a NoClassDefFoundError: org/apache/maven/surefire/util/NestedRuntimeException. This is the console output with the -e option:
> >mvn -e clean test
> [INFO] [surefire:test]
> [INFO] Surefire report directory: C:\personal\vigilog\target\surefire-reports
> java.lang.NoClassDefFoundError: org/apache/maven/surefire/util/NestedRuntimeException
> Exception in thread "main"
> [INFO] ------------------------------------------------------------------------
> [ERROR] BUILD FAILURE
> [INFO] ------------------------------------------------------------------------
> [INFO] There are test failures.
> [INFO] ------------------------------------------------------------------------
> [INFO] Trace
> org.apache.maven.BuildFailureException: There are test failures.
> at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals (DefaultLifecycleExecutor.java:560)
> at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:480)
> at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal (DefaultLifecycleExecutor.java:459)
> at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:311)
> at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments (DefaultLifecycleExecutor.java:278)
> at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:143)
> at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:334)
> at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:125)
> at org.apache.maven.cli.MavenCli.main(MavenCli.java:272)
> 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:597)
> 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)
> Caused by: org.apache.maven.plugin.MojoFailureException: There are test failures.
> at org.apache.maven.plugin.surefire.SurefirePlugin.execute (SurefirePlugin.java:413)
> at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:443)
> at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java :539)
> ... 16 more
> [INFO] ------------------------------------------------------------------------
> [INFO] Total time: 6 seconds
> [INFO] Finished at: Mon May 14 10:45:43 CEST 2007
> [INFO] Final Memory: 8M/25M
> [INFO] ------------------------------------------------------------------------
> I'm using the snapshot release because I use TestNG 5.5. Any solution to make my build work again would be highly appriciated.
> regards,
> Wim
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] Reopened: (SUREFIRE-328) java.lang.NoClassDefFoundError:
org/apache/maven/surefire/util/NestedRuntimeException
Posted by "Dan Fabulich (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/SUREFIRE-328?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Dan Fabulich reopened SUREFIRE-328:
-----------------------------------
> java.lang.NoClassDefFoundError: org/apache/maven/surefire/util/NestedRuntimeException
> -------------------------------------------------------------------------------------
>
> Key: SUREFIRE-328
> URL: http://jira.codehaus.org/browse/SUREFIRE-328
> Project: Maven Surefire
> Issue Type: Bug
> Components: TestNG support
> Affects Versions: 2.4
> Environment: Windows XP
> Maven 2.0.6
> Reporter: Wim Deblauwe
> Fix For: 2.4
>
> Attachments: mvn.log
>
>
> I just updated my surefire 2.4-SNAPSHOT plugin, but now I cannot build anymore. I get a NoClassDefFoundError: org/apache/maven/surefire/util/NestedRuntimeException. This is the console output with the -e option:
> >mvn -e clean test
> [INFO] [surefire:test]
> [INFO] Surefire report directory: C:\personal\vigilog\target\surefire-reports
> java.lang.NoClassDefFoundError: org/apache/maven/surefire/util/NestedRuntimeException
> Exception in thread "main"
> [INFO] ------------------------------------------------------------------------
> [ERROR] BUILD FAILURE
> [INFO] ------------------------------------------------------------------------
> [INFO] There are test failures.
> [INFO] ------------------------------------------------------------------------
> [INFO] Trace
> org.apache.maven.BuildFailureException: There are test failures.
> at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals (DefaultLifecycleExecutor.java:560)
> at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:480)
> at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal (DefaultLifecycleExecutor.java:459)
> at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:311)
> at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments (DefaultLifecycleExecutor.java:278)
> at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:143)
> at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:334)
> at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:125)
> at org.apache.maven.cli.MavenCli.main(MavenCli.java:272)
> 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:597)
> 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)
> Caused by: org.apache.maven.plugin.MojoFailureException: There are test failures.
> at org.apache.maven.plugin.surefire.SurefirePlugin.execute (SurefirePlugin.java:413)
> at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:443)
> at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java :539)
> ... 16 more
> [INFO] ------------------------------------------------------------------------
> [INFO] Total time: 6 seconds
> [INFO] Finished at: Mon May 14 10:45:43 CEST 2007
> [INFO] Final Memory: 8M/25M
> [INFO] ------------------------------------------------------------------------
> I'm using the snapshot release because I use TestNG 5.5. Any solution to make my build work again would be highly appriciated.
> regards,
> Wim
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] Commented: (SUREFIRE-328) java.lang.NoClassDefFoundError:
org/apache/maven/surefire/util/NestedRuntimeException
Posted by "Gerald Reinhart (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/SUREFIRE-328?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_116470 ]
Gerald Reinhart commented on SUREFIRE-328:
------------------------------------------
Downloading: http://snapshots.repository.codehaus.org//org/apache/maven/surefire/surefire-booter/2.4-SNAPSHOT/surefire-booter-2.4-20071211.0
83739-25.pom
[INFO] Surefire report directory: C:\Dev\projects\....\target\surefire-reports
java.lang.NoClassDefFoundError: org/apache/maven/surefire/util/NestedRuntimeException
Exception in thread "main"
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] There are test failures.
Seems that the SNAPSHOT built today is not working very well...
(I do not change anything: the build fail because of the new version of the SNAPSHOT)
I'm using the 2.4-snapshot release because I use TestNG 5.5.
Regards,
Gerald
> java.lang.NoClassDefFoundError: org/apache/maven/surefire/util/NestedRuntimeException
> -------------------------------------------------------------------------------------
>
> Key: SUREFIRE-328
> URL: http://jira.codehaus.org/browse/SUREFIRE-328
> Project: Maven Surefire
> Issue Type: Bug
> Components: TestNG support
> Affects Versions: 2.4
> Environment: Windows XP
> Maven 2.0.6
> Reporter: Wim Deblauwe
> Fix For: 2.4
>
>
> I just updated my surefire 2.4-SNAPSHOT plugin, but now I cannot build anymore. I get a NoClassDefFoundError: org/apache/maven/surefire/util/NestedRuntimeException. This is the console output with the -e option:
> >mvn -e clean test
> [INFO] [surefire:test]
> [INFO] Surefire report directory: C:\personal\vigilog\target\surefire-reports
> java.lang.NoClassDefFoundError: org/apache/maven/surefire/util/NestedRuntimeException
> Exception in thread "main"
> [INFO] ------------------------------------------------------------------------
> [ERROR] BUILD FAILURE
> [INFO] ------------------------------------------------------------------------
> [INFO] There are test failures.
> [INFO] ------------------------------------------------------------------------
> [INFO] Trace
> org.apache.maven.BuildFailureException: There are test failures.
> at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals (DefaultLifecycleExecutor.java:560)
> at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:480)
> at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal (DefaultLifecycleExecutor.java:459)
> at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:311)
> at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments (DefaultLifecycleExecutor.java:278)
> at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:143)
> at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:334)
> at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:125)
> at org.apache.maven.cli.MavenCli.main(MavenCli.java:272)
> 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:597)
> 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)
> Caused by: org.apache.maven.plugin.MojoFailureException: There are test failures.
> at org.apache.maven.plugin.surefire.SurefirePlugin.execute (SurefirePlugin.java:413)
> at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:443)
> at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java :539)
> ... 16 more
> [INFO] ------------------------------------------------------------------------
> [INFO] Total time: 6 seconds
> [INFO] Finished at: Mon May 14 10:45:43 CEST 2007
> [INFO] Final Memory: 8M/25M
> [INFO] ------------------------------------------------------------------------
> I'm using the snapshot release because I use TestNG 5.5. Any solution to make my build work again would be highly appriciated.
> regards,
> Wim
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] Closed: (SUREFIRE-328) java.lang.NoClassDefFoundError:
org/apache/maven/surefire/util/NestedRuntimeException
Posted by "Dan Fabulich (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/SUREFIRE-328?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Dan Fabulich closed SUREFIRE-328.
---------------------------------
Resolution: Incomplete
The 2.4-SNAPSHOT integration tests are passing right now with various versions of TestNG. If you're still experiencing this problem, please submit a reduced test case in the form of a sample m2 project that demonstrates the problem.
> java.lang.NoClassDefFoundError: org/apache/maven/surefire/util/NestedRuntimeException
> -------------------------------------------------------------------------------------
>
> Key: SUREFIRE-328
> URL: http://jira.codehaus.org/browse/SUREFIRE-328
> Project: Maven Surefire
> Issue Type: Bug
> Components: TestNG support
> Affects Versions: 2.4
> Environment: Windows XP
> Maven 2.0.6
> Reporter: Wim Deblauwe
> Fix For: 2.4
>
>
> I just updated my surefire 2.4-SNAPSHOT plugin, but now I cannot build anymore. I get a NoClassDefFoundError: org/apache/maven/surefire/util/NestedRuntimeException. This is the console output with the -e option:
> >mvn -e clean test
> [INFO] [surefire:test]
> [INFO] Surefire report directory: C:\personal\vigilog\target\surefire-reports
> java.lang.NoClassDefFoundError: org/apache/maven/surefire/util/NestedRuntimeException
> Exception in thread "main"
> [INFO] ------------------------------------------------------------------------
> [ERROR] BUILD FAILURE
> [INFO] ------------------------------------------------------------------------
> [INFO] There are test failures.
> [INFO] ------------------------------------------------------------------------
> [INFO] Trace
> org.apache.maven.BuildFailureException: There are test failures.
> at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals (DefaultLifecycleExecutor.java:560)
> at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:480)
> at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal (DefaultLifecycleExecutor.java:459)
> at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:311)
> at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments (DefaultLifecycleExecutor.java:278)
> at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:143)
> at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:334)
> at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:125)
> at org.apache.maven.cli.MavenCli.main(MavenCli.java:272)
> 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:597)
> 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)
> Caused by: org.apache.maven.plugin.MojoFailureException: There are test failures.
> at org.apache.maven.plugin.surefire.SurefirePlugin.execute (SurefirePlugin.java:413)
> at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:443)
> at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java :539)
> ... 16 more
> [INFO] ------------------------------------------------------------------------
> [INFO] Total time: 6 seconds
> [INFO] Finished at: Mon May 14 10:45:43 CEST 2007
> [INFO] Final Memory: 8M/25M
> [INFO] ------------------------------------------------------------------------
> I'm using the snapshot release because I use TestNG 5.5. Any solution to make my build work again would be highly appriciated.
> regards,
> Wim
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] Commented: (SUREFIRE-328) java.lang.NoClassDefFoundError:
org/apache/maven/surefire/util/NestedRuntimeException
Posted by "Jerome Lacoste (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/SUREFIRE-328?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_117522 ]
Jerome Lacoste commented on SUREFIRE-328:
-----------------------------------------
Dan,
* I don't get any compilation failure with JarUnsignMojo
* I still cannot run my tests on XP. I will try various things like using a fresh local repos, etc...
When I am done with my other more pressing issues, I will look into that one.
> java.lang.NoClassDefFoundError: org/apache/maven/surefire/util/NestedRuntimeException
> -------------------------------------------------------------------------------------
>
> Key: SUREFIRE-328
> URL: http://jira.codehaus.org/browse/SUREFIRE-328
> Project: Maven Surefire
> Issue Type: Bug
> Components: TestNG support
> Affects Versions: 2.4
> Environment: Windows XP
> Maven 2.0.6
> Reporter: Wim Deblauwe
> Attachments: mvn.log
>
>
> I just updated my surefire 2.4-SNAPSHOT plugin, but now I cannot build anymore. I get a NoClassDefFoundError: org/apache/maven/surefire/util/NestedRuntimeException. This is the console output with the -e option:
> >mvn -e clean test
> [INFO] [surefire:test]
> [INFO] Surefire report directory: C:\personal\vigilog\target\surefire-reports
> java.lang.NoClassDefFoundError: org/apache/maven/surefire/util/NestedRuntimeException
> Exception in thread "main"
> [INFO] ------------------------------------------------------------------------
> [ERROR] BUILD FAILURE
> [INFO] ------------------------------------------------------------------------
> [INFO] There are test failures.
> [INFO] ------------------------------------------------------------------------
> [INFO] Trace
> org.apache.maven.BuildFailureException: There are test failures.
> at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals (DefaultLifecycleExecutor.java:560)
> at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:480)
> at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal (DefaultLifecycleExecutor.java:459)
> at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:311)
> at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments (DefaultLifecycleExecutor.java:278)
> at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:143)
> at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:334)
> at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:125)
> at org.apache.maven.cli.MavenCli.main(MavenCli.java:272)
> 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:597)
> 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)
> Caused by: org.apache.maven.plugin.MojoFailureException: There are test failures.
> at org.apache.maven.plugin.surefire.SurefirePlugin.execute (SurefirePlugin.java:413)
> at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:443)
> at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java :539)
> ... 16 more
> [INFO] ------------------------------------------------------------------------
> [INFO] Total time: 6 seconds
> [INFO] Finished at: Mon May 14 10:45:43 CEST 2007
> [INFO] Final Memory: 8M/25M
> [INFO] ------------------------------------------------------------------------
> I'm using the snapshot release because I use TestNG 5.5. Any solution to make my build work again would be highly appriciated.
> regards,
> Wim
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] Updated: (SUREFIRE-328) java.lang.NoClassDefFoundError:
org/apache/maven/surefire/util/NestedRuntimeException
Posted by "Jerome Lacoste (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/SUREFIRE-328?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jerome Lacoste updated SUREFIRE-328:
------------------------------------
Attachment: mvn.log
Same issue today building mwebstart on windows XP.
$ svn info
Path: .
URL: https://svn.codehaus.org/mojo/trunk/mojo/webstart-maven-plugin/plugin
Repository Root: https://svn.codehaus.org/mojo
Repository UUID: 52ab4f32-60fc-0310-b215-8acea882cd1b
Revision: 5808
Node Kind: directory
Schedule: normal
Last Changed Author: lacostej
Last Changed Rev: 5808
Last Changed Date: 2007-12-20 23:44:00 +0100 (to, 20 des 2007)
maven 2.0.6
I am not using TestNG so this is not TestNG specific.
Dan, can you look at that one? Thanks.
> java.lang.NoClassDefFoundError: org/apache/maven/surefire/util/NestedRuntimeException
> -------------------------------------------------------------------------------------
>
> Key: SUREFIRE-328
> URL: http://jira.codehaus.org/browse/SUREFIRE-328
> Project: Maven Surefire
> Issue Type: Bug
> Components: TestNG support
> Affects Versions: 2.4
> Environment: Windows XP
> Maven 2.0.6
> Reporter: Wim Deblauwe
> Fix For: 2.4
>
> Attachments: mvn.log
>
>
> I just updated my surefire 2.4-SNAPSHOT plugin, but now I cannot build anymore. I get a NoClassDefFoundError: org/apache/maven/surefire/util/NestedRuntimeException. This is the console output with the -e option:
> >mvn -e clean test
> [INFO] [surefire:test]
> [INFO] Surefire report directory: C:\personal\vigilog\target\surefire-reports
> java.lang.NoClassDefFoundError: org/apache/maven/surefire/util/NestedRuntimeException
> Exception in thread "main"
> [INFO] ------------------------------------------------------------------------
> [ERROR] BUILD FAILURE
> [INFO] ------------------------------------------------------------------------
> [INFO] There are test failures.
> [INFO] ------------------------------------------------------------------------
> [INFO] Trace
> org.apache.maven.BuildFailureException: There are test failures.
> at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals (DefaultLifecycleExecutor.java:560)
> at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:480)
> at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal (DefaultLifecycleExecutor.java:459)
> at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:311)
> at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments (DefaultLifecycleExecutor.java:278)
> at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:143)
> at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:334)
> at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:125)
> at org.apache.maven.cli.MavenCli.main(MavenCli.java:272)
> 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:597)
> 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)
> Caused by: org.apache.maven.plugin.MojoFailureException: There are test failures.
> at org.apache.maven.plugin.surefire.SurefirePlugin.execute (SurefirePlugin.java:413)
> at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:443)
> at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java :539)
> ... 16 more
> [INFO] ------------------------------------------------------------------------
> [INFO] Total time: 6 seconds
> [INFO] Finished at: Mon May 14 10:45:43 CEST 2007
> [INFO] Final Memory: 8M/25M
> [INFO] ------------------------------------------------------------------------
> I'm using the snapshot release because I use TestNG 5.5. Any solution to make my build work again would be highly appriciated.
> regards,
> Wim
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] Commented: (SUREFIRE-328) java.lang.NoClassDefFoundError:
org/apache/maven/surefire/util/NestedRuntimeException
Posted by "Brett Porter (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/SUREFIRE-328?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_117505 ]
Brett Porter commented on SUREFIRE-328:
---------------------------------------
could this be the same as the MNG-3330 issue?
> java.lang.NoClassDefFoundError: org/apache/maven/surefire/util/NestedRuntimeException
> -------------------------------------------------------------------------------------
>
> Key: SUREFIRE-328
> URL: http://jira.codehaus.org/browse/SUREFIRE-328
> Project: Maven Surefire
> Issue Type: Bug
> Components: TestNG support
> Affects Versions: 2.4
> Environment: Windows XP
> Maven 2.0.6
> Reporter: Wim Deblauwe
> Fix For: 2.4
>
> Attachments: mvn.log
>
>
> I just updated my surefire 2.4-SNAPSHOT plugin, but now I cannot build anymore. I get a NoClassDefFoundError: org/apache/maven/surefire/util/NestedRuntimeException. This is the console output with the -e option:
> >mvn -e clean test
> [INFO] [surefire:test]
> [INFO] Surefire report directory: C:\personal\vigilog\target\surefire-reports
> java.lang.NoClassDefFoundError: org/apache/maven/surefire/util/NestedRuntimeException
> Exception in thread "main"
> [INFO] ------------------------------------------------------------------------
> [ERROR] BUILD FAILURE
> [INFO] ------------------------------------------------------------------------
> [INFO] There are test failures.
> [INFO] ------------------------------------------------------------------------
> [INFO] Trace
> org.apache.maven.BuildFailureException: There are test failures.
> at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals (DefaultLifecycleExecutor.java:560)
> at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:480)
> at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal (DefaultLifecycleExecutor.java:459)
> at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:311)
> at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments (DefaultLifecycleExecutor.java:278)
> at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:143)
> at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:334)
> at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:125)
> at org.apache.maven.cli.MavenCli.main(MavenCli.java:272)
> 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:597)
> 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)
> Caused by: org.apache.maven.plugin.MojoFailureException: There are test failures.
> at org.apache.maven.plugin.surefire.SurefirePlugin.execute (SurefirePlugin.java:413)
> at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:443)
> at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java :539)
> ... 16 more
> [INFO] ------------------------------------------------------------------------
> [INFO] Total time: 6 seconds
> [INFO] Finished at: Mon May 14 10:45:43 CEST 2007
> [INFO] Final Memory: 8M/25M
> [INFO] ------------------------------------------------------------------------
> I'm using the snapshot release because I use TestNG 5.5. Any solution to make my build work again would be highly appriciated.
> regards,
> Wim
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira