commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "marc & lan" <marc...@free.fr>
Subject Re: [maven-xmlunit] loader constraints violated when linking org/w3c/dom/Document class
Date Fri, 28 Jan 2005 22:49:49 GMT
I get my answer, and I put ithere to remerber with archives :)

in project.properties, add :
------------------------------
maven.junit.fork=true
maven.compile.fork=true
------------------------------

to fork to distinct JVM.

Marc DeXeT

marc & lan wrote:
> I get a strange error when I run a unit test. On eclipse it's ok.
> With maven I get :
>
> loader constraints violated when linking org/w3c/dom/Document class
> java.lang.LinkageError: loader constraints violated when linking
> org/w3c/dom/Document class
> at org.custommonkey.xmlunit.XMLUnit.buildDocument(Unknown Source)
> at org.custommonkey.xmlunit.Diff.<init>(Unknown Source)
> at org.custommonkey.xmlunit.Diff.<init>(Unknown Source)
> at
> fr.dsi.cnrs.axiom.impl.TestRuledObjectSupport.testAsElement(TestRuledObjectSupport.java:96)
>
> Any idea ?
>
> Marc DeXeT
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: commons-user-help@jakarta.apache.org 


---------------------------------------------------------------------
To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-user-help@jakarta.apache.org


Mime
View raw message