| Was: junit task newbie | Was: junit task newbie 2003-02-10 - By Nestel, Frank IZ/HZA-IC4
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:McReynoldsD@(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:khatton@(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:McReynoldsD@(protected)] > Sent: 31 January 2003 17:13 > To: 'ant-user@(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: ant-user-unsubscribe@(protected) > For additional commands, e-mail: ant-user-help@(protected) > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: ant-user-unsubscribe@(protected) > For additional commands, e-mail: ant-user-help@(protected) > > --------------------------------------------------------------------- > To unsubscribe, e-mail: ant-user-unsubscribe@(protected) > For additional commands, e-mail: ant-user-help@(protected) >
|
|
 |