Uploaded image for project: 'Maven Surefire'
  1. Maven Surefire
  2. SUREFIRE-509

NoClassDefFoundError: org/apache/maven/surefire/booter/SurefireBooter with Java 1.3

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.4.3
    • 2.7
    • None
    • None
    • Windows XP, Sun JDK 1.3.1_20

    Description

      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:

      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
      

      Attachments

        Activity

          People

            krosenvold Kristian Rosenvold
            ebourg Emmanuel Bourg
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: