ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Natalia Bello <nbe...@isabel.be>
Subject RE: Jxunit and Ant
Date Thu, 26 Jul 2001 14:39:13 GMT
Thanks Stephan!
i didnt have the jaxp.jar neither the parser.jar in the ANT_HOME/lib.But
finally i have
copied all the jar files in the jxunit\jar directory to ANT_HOME/lib and i
have used the junit task. I works!!!
Natalia 



-----Original Message-----
From: Stefan Bodewig [mailto:bodewig@apache.org]
Sent: 26 July 2001 15:08
To: ant-user@jakarta.apache.org
Subject: Re: Jxunit and Ant


On Thu, 26 Jul 2001, Natalia Bello <nbello@isabel.be> wrote:

>               <pathelement location="d:/jxunit3.0.0/jars/crimson.jar"/>
>               <pathelement location="d:/jxunit3.0.0/jars/jaxp1.1.jar"/>
>        
> and i get
> 
> java.lang.LinkageError: loader constraints violated when linking
> org/xml/sax/XMLReader class at

You have two different XML parsers in your classpath, one from
ANT_HOME/lib and one here.

It may be the best solution to remove jaxp.jar and parser.jar from
ANT_HOME/lib and replace them with the two jars quoted above.

Stefan

Mime
View raw message