You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Dan Fabulich (JIRA)" <ji...@codehaus.org> on 2007/12/21 04:40:57 UTC

[jira] Closed: (SUREFIRE-328) java.lang.NoClassDefFoundError: org/apache/maven/surefire/util/NestedRuntimeException

     [ 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