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