ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 30609] - NoClassDefFoundError when JUnit task timeout occurs
Date Wed, 27 Oct 2004 07:14:13 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=30609>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=30609

NoClassDefFoundError when JUnit task timeout occurs





------- Additional Comments From jglick@netbeans.org  2004-10-27 07:14 -------
Note that xercesImpl.jar generally links against DocumentRange whereas JDK 1.4's
rt.jar does not include it (why, I don't know). So if you were using the Xerces
impl JAR but only the standard JDK APIs you could get this error. For the same
reason, when the NetBeans IDE uses Xerces, it always bundles the impl JAR
together with just the org.w3c.dom.ranges.* package from xmlcommons. As of JDK
1.5 I think this is unnecessary, and for JDK 1.3- it doesn't matter since the
JDK has no JAXP anyway.

Probably a user error - if you use JDK 1.4, you can omit *both* xml-apis.jar and
xercesImpl.jar from Ant's lib dir, but you cannot use only xercesImpl.jar and
omit xml-apis.jar.

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


Mime
View raw message