Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: 1.4
-
Fix Version/s: None
-
Labels:None
-
Environment:Sun Solaris 8
SUN JDK 1.3.1_11
Maven 1.0_rc2
Description
It seems that clover plugin can't find the XML classes when running jdk 1.3.1.
---- BEGIN SNIPPET —
test:test:
[junit] Running MyTest
[junit] Exception in thread "main" java.lang.NoClassDefFoundError:
org/w3c/dom/Node
[junit] at java.lang.Class.forName0(Native Method)
[junit] at java.lang.Class.forName(Class.java:115)
[junit] at
org.apache.tools.ant.taskdefs.optional.junit.FormatterElement.createFormatter(FormatterElement.java:183)
[junit] at
org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.createAndStoreFormatter(JUnitTestRunner.java:562)
[junit] at
org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:507)
[junit] [ERROR] TEST MyTest FAILED
---- END SNIPPET —
If I set JAVA_HOME to JDK 1.4.2 clover works ( The XML classes are included in the JDK 1.4.x)
Issue Links
- is depended upon by
-
MAVEN-1244
plugin issues to fix for RC3
-
works for me with RC2 on Solaris 8, JDK 1.3.1_01