You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by ji...@codehaus.org on 2004/05/11 01:43:56 UTC

[jira] Closed: (MPCLOVER-16) Clover fails with jdk 1.3.1

Message:

   The following issue has been closed.

   Resolver: Brett Porter
       Date: Mon, 10 May 2004 7:42 PM

this is working for me now
---------------------------------------------------------------------
View the issue:
  http://jira.codehaus.org/secure/ViewIssue.jspa?key=MPCLOVER-16

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: MPCLOVER-16
    Summary: Clover fails with jdk 1.3.1
       Type: Bug

     Status: Closed
   Priority: Major
 Resolution: FIXED

 Original Estimate: Unknown
 Time Spent: Unknown
  Remaining: Unknown

    Project: maven-clover-plugin
   Versions:
             1.4

   Assignee: Brett Porter
   Reporter: Brian Preston

    Created: Wed, 21 Apr 2004 11:21 AM
    Updated: Mon, 10 May 2004 7:42 PM
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)



---------------------------------------------------------------------
JIRA INFORMATION:
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

If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org