ANT seems to overide Xerces.jar in the classpath
2 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Chad_Kehn
Posted On:   Friday, July 19, 2002 07:39 AM

I am trying to do a simple test of a class that uses Xerces DOM. I seem to be having trouble with the classpath as it runs. I get the error java.lang.NoClassDefFoundError: org/w3c/dom/Node when I know that it is located in Xerces.jar? Is Ant trying to use the CRIMSON classes before what is in my classpath? I have included my run below. Any help is appreciated. I apologize if this is a simple question I am just starting to not use my IDE and learn ANT.











Thanks,
Chad

Re: ANT seems to overide Xerces.jar in the classpath

Posted By:   Erik_Hatcher  
Posted On:   Tuesday, July 30, 2002 11:34 AM

Try fork="true" on your task.

Re: ANT seems to overide Xerces.jar in the classpath

Posted By:   Chad_Kehn  
Posted On:   Friday, July 19, 2002 07:49 AM

I posted the wrong error above. I am having a bad day. The error I ment to post was:

[java] java.lang.LinkageError: loader constraints violated when linking org/xml/sax/InputSource class


Am I getting this becaue it is using the Ant crimson.jar.

Thanks again,
Chad
About | Sitemap | Contact