Title: RE: Jxunit and Ant

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:[EMAIL PROTECTED]]
Sent: 26 July 2001 15:08
To: [EMAIL PROTECTED]
Subject: Re: Jxunit and Ant


On Thu, 26 Jul 2001, Natalia Bello <[EMAIL PROTECTED]> 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

Reply via email to