java.lang.NoSuchMethodError when forking on a 1.3 JDK
-----------------------------------------------------

                 Key: SUREFIRE-481
                 URL: http://jira.codehaus.org/browse/SUREFIRE-481
             Project: Maven Surefire
          Issue Type: Bug
          Components: Junit 4.x support
    Affects Versions: 2.4.2, 2.4.1, 2.4
         Environment: Maven version: 2.0.7, 2.0.8, 2.0.9-RC8 or 
Java version: 1.5.0_12

            Reporter: David J. M. Karlsen


[INFO] [surefire:test]
[DEBUG] dummy:dummy:jar:1.0 (selected for null)
[DEBUG]   org.apache.maven.surefire:surefire-booter:jar:2.4.2:runtime (selected 
for runtime)
[DEBUG]     org.apache.maven.surefire:surefire-api:jar:2.4.2:runtime (selected 
for runtime)
[DEBUG] Adding to surefire booter test classpath: 
/heim/ab62939/.m2/repository/org/apache/maven/surefire/surefire-booter/2.4.2/surefire-booter-2.4.2.jar
[DEBUG] Adding to surefire booter test classpath: 
/heim/ab62939/.m2/repository/org/apache/maven/surefire/surefire-api/2.4.2/surefire-api-2.4.2.jar
[DEBUG] dummy:dummy:jar:1.0 (selected for null)
[DEBUG] Retrieving parent-POM: 
org.apache.maven.surefire:surefire-providers::2.4.2 for project: 
null:surefire-junit:jar:null from the repository.
[DEBUG] Adding managed dependencies for unknown:surefire-junit
[DEBUG]   org.apache.maven.surefire:surefire-api:jar:2.4.2
[DEBUG]   org.apache.maven.surefire:surefire-booter:jar:2.4.2
[DEBUG]   org.codehaus.plexus:plexus-utils:jar:1.4.9
[DEBUG]   org.apache.maven.surefire:surefire-junit:jar:2.4.2:test (selected for 
test)
[DEBUG]     junit:junit:jar:3.8.1:test (selected for test)
[DEBUG]     org.apache.maven.surefire:surefire-api:jar:2.4.2:test (selected for 
test)
[DEBUG] Adding to surefire test classpath: 
/heim/ab62939/.m2/repository/org/apache/maven/surefire/surefire-junit/2.4.2/surefire-junit-2.4.2.jar
[DEBUG] Adding to surefire test classpath: 
/heim/ab62939/.m2/repository/junit/junit/3.8.1/junit-3.8.1.jar
[DEBUG] Adding to surefire test classpath: 
/heim/ab62939/.m2/repository/org/apache/maven/surefire/surefire-api/2.4.2/surefire-api-2.4.2.jar
[DEBUG] Test Classpath :
  [snip...]

[INFO] Surefire report directory: 
/tmp/dnbnorapi-trunk/dnbnorapi-server/target/surefire-reports
Forking command line: /bin/sh -c "cd /tmp/dnbnorapi-trunk/dnbnorapi-server && 
/dnb/prosess/WebSphere5/AppServer/java/jre/bin/java -Xmx128M -jar 
/var/tmp/surefirebooter29275.jar /var/tmp/surefire29273tmp 
/var/tmp/surefire29274tmp"
java.lang.NoSuchMethodError
        at org.apache.maven.surefire.util.UrlUtils.getURL(UrlUtils.java:39)
        at 
org.apache.maven.surefire.booter.SurefireBooter.createClassLoader(SurefireBooter.java:730)
        at 
org.apache.maven.surefire.booter.SurefireBooter.createClassLoader(SurefireBooter.java:715)
        at 
org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:277)
        at 
org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:993)
[ERROR] There are test failures.


-- 
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

        

Reply via email to