Yepp, looks like the same problem here: Junit task fails with 

        java.lang.LinkageError: loader constraints violated when linking        
org/xml/sax/XMLReader class

when trying to use Junit from Ant to test something using XML.

Junit 3.8.1 seems to have everything OK according to the quoted link.

The Junit-Test runs fine from Awt and Swing GUI.

Frank

> -----Urspr�ngliche Nachricht-----
> Von: McReynolds, David [mailto:[EMAIL PROTECTED]]
> Gesendet: Freitag, 31. Januar 2003 21:03
> An: 'Ant Users List'
> Betreff: RE: junit task newbie
> 
> 
> 
> using 3.8.1. checked the excluded.properties. it is the same
> as the one from the faq. still no joy.
> 
> -----Original Message-----
> From: Keith Hatton [mailto:[EMAIL PROTECTED]]
> Sent: Friday, January 31, 2003 12:27 PM
> To: Ant Users List
> Subject: RE: junit task newbie
> 
> 
> Try this http://junit.sourceforge.net/doc/faq/faq.htm#running_9
> 
> 
> Keith
> 
> -----Original Message-----
> From: McReynolds, David [mailto:[EMAIL PROTECTED]]
> Sent: 31 January 2003 17:13
> To: '[EMAIL PROTECTED]'
> Subject: junit task newbie
> 
> 
> okay, i have not idea whats going on here
> 
> junit:
>     [junit] Running com.ge.ps.cosmos.alert.Test_AlertFactory
> 
> BUILD FAILED
> java.lang.LinkageError: loader constraints violated when
> linking org/w3c/dom/Doc ument class
>         at 
> org.apache.crimson.jaxp.DocumentBuilderFactoryImpl.newDocumentBuilder
> (DocumentBuilderFactoryImpl.java:82)
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to