maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "uwe schaefer (JIRA)" <j...@codehaus.org>
Subject [jira] Commented: (SUREFIRE-328) java.lang.NoClassDefFoundError: org/apache/maven/surefire/util/NestedRuntimeException
Date Fri, 01 Jun 2007 07:55:58 GMT

    [ 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

       

Mime
View raw message