You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ant.apache.org by "Nestel, Frank IZ/HZA-IC4" <ne...@de.ina.com> on 2003/02/10 14:09:34 UTC

Was: junit task newbie

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@daugherty.com]
> 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@axiomsystems.com]
> 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@daugherty.com]
> Sent: 31 January 2003 17:13
> To: 'ant-user@jakarta.apache.org'
> 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@jakarta.apache.org
> For additional commands, e-mail: ant-user-help@jakarta.apache.org
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: ant-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: ant-user-help@jakarta.apache.org
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: ant-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: ant-user-help@jakarta.apache.org
>