You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Kristian Rosenvold (JIRA)" <ji...@codehaus.org> on 2010/12/09 23:01:58 UTC

[jira] Closed: (SUREFIRE-509) NoClassDefFoundError: org/apache/maven/surefire/booter/SurefireBooter with Java 1.3

     [ http://jira.codehaus.org/browse/SUREFIRE-509?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Kristian Rosenvold closed SUREFIRE-509.
---------------------------------------

       Resolution: Fixed
    Fix Version/s: 2.7
         Assignee: Kristian Rosenvold

1.3 compatibility restored in 2.7

> NoClassDefFoundError: org/apache/maven/surefire/booter/SurefireBooter with Java 1.3
> -----------------------------------------------------------------------------------
>
>                 Key: SUREFIRE-509
>                 URL: http://jira.codehaus.org/browse/SUREFIRE-509
>             Project: Maven Surefire
>          Issue Type: Bug
>    Affects Versions: 2.4.3
>         Environment: Windows XP, Sun JDK 1.3.1_20
>            Reporter: Emmanuel Bourg
>            Assignee: Kristian Rosenvold
>             Fix For: 2.7
>
>
> Surefire fails to launch the tests with a 1.3 JVM, it returns a NoClassDefFoundError on SurefireBooter.
> I tried to run manually the surefirebooter.jar file created in the temp directory, it worked with Java 5 but failed with Java 1.3 with the same error. Here is the manifest of the jar:
> {noformat}
> Manifest-Version: 1.0
> Class-Path: file:/C:/Documents%20and%20Settings/Smanux/.m2/repository/
>  org/apache/maven/surefire/surefire-booter/2.4.3/surefire-booter-2.4.3
>  .jar file:/C:/Documents%20and%20Settings/Smanux/.m2/repository/org/ap
>  ache/maven/surefire/surefire-api/2.4.3/surefire-api-2.4.3.jar file:/C
>  :/dev/jakarta/cli/target/test-classes/ file:/C:/dev/jakarta/cli/targe
>  t/classes/ file:/C:/Documents%20and%20Settings/Smanux/.m2/repository/
>  junit/junit/3.8.1/junit-3.8.1.jar
> Main-Class: org.apache.maven.surefire.booter.SurefireBooter
> {noformat}

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