ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dominique Devienne <>
Subject RE: Error : Exception Reading Component <java>
Date Fri, 05 Jul 2002 06:24:27 GMT
Add the fork="true" attribute, and see if that turns around the problem (I
think it should). --DD

-----Original Message-----
From: Dipankar Chakraborty [mailto:DipankarC@InterraIT.COM]
Sent: Thursday, July 04, 2002 11:49 PM
To: 'Ant Users List'
Subject: RE: Error : Exception Reading Component <java>


I have mentioned in my previous mail the "Exception reading component
error with ant1.4 (which was not there in ant1.3alpha) while running java
task from ant.

I have tested the same with ant 1.5beta3, but still I am facing the same

Am I doing something wrong?


The detail error:

When trying to run a java program from ant, which requires xerces.jar, is
Original error is NoClassDefFound w3c/org/dom/Document
on -debug -verbose mode found out that it is giving error
Exception reading component d:/myProject/lib/xerces.jar.

Following is the ant code snippet:
<java classname="">
			<pathelement path="d:\myProject\lib\xerces.jar

The response from ant1.5beta3 with verbose and debug mode:

     [java] BaseParser::createDocumentModel
Exception reading component D:\myProject\lib\xerces.jar
     [java] java.lang.NoClassDefFoundError: org/w3c/dom/Document

To unsubscribe, e-mail:   <>
For additional commands, e-mail: <>

To unsubscribe, e-mail:   <>
For additional commands, e-mail: <>

View raw message