[ http://jira.codehaus.org/browse/MSUREFIRE-103?page=comments#action_64841 ]
Alexey Popov commented on MSUREFIRE-103: ---------------------------------------- I typed "mvn clean install" for my appication. Maven downloads surefire-booter-1.5.3, surefire-1.5.3. Tests show the java.lang.NoSuchMethodError . Test folder exists and contains only resources folder with log4j.properties I use j2sdk1.4.2_06 > Test failures in > ----------------- > > Key: MSUREFIRE-103 > URL: http://jira.codehaus.org/browse/MSUREFIRE-103 > Project: Maven 2.x Surefire Plugin > Type: Bug > Versions: 2.1.3 > Environment: j2sdk1.4.2_06 > Reporter: Alexey Popov > > Original Estimate: 2 hours > Remaining: 2 hours > > After an update the following error always occurs > [INFO] [compiler:testCompile] > Compiling 1 source file to ...\target\test-classes > [INFO] [surefire:test] > [INFO] Setting reports dir: ...\target/surefire-reports > java.lang.NoSuchMethodError > at > org.apache.maven.surefire.SurefireBooter.createForkingClassLoader(SurefireBooter.java:291) > at > org.apache.maven.surefire.SurefireBooter.main(SurefireBooter.java:680) > Exception in thread "main" > [INFO] > ---------------------------------------------------------------------------- > [ERROR] BUILD ERROR > [INFO] > ---------------------------------------------------------------------------- > [INFO] There are test failures. > [INFO] > ---------------------------------------------------------------------------- > [INFO] Trace > org.apache.maven.lifecycle.LifecycleExecutionException: There are test > failures. > at > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:556) > at > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:47 > 2) > at > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:451) > at > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.jav > a:303) > at > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:270) > at > org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:139) > 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:249) > 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) > Caused by: org.apache.maven.plugin.MojoExecutionException: There are test > failures. > at > org.apache.maven.test.SurefirePlugin.execute(SurefirePlugin.java:389) > at > org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:415) > at > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:531) > ... 16 more -- 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