ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Atherton Richard - Z9V <richard.ather...@AXA-RoyaleBelge.be>
Subject Class org/xml/sax/InputSource violates loader constraints
Date Tue, 28 Aug 2001 13:52:38 GMT

I am using the Ant Junit task, running a single suite using the textui. Has
anybody come across the following when using the Ant Junit task? Either the
Ant or the JUnit class loader seems to be complaining about the InputSource
class inside 'xerces.jar'. (We get the problem when using the JUnit Swing
GUI outside of Ant, which has a dynamic class loader).

Cheers,
Richard.

Testcase: testAllGetters took 0,14 sec
	Caused an ERROR
Class org/xml/sax/InputSource violates loader constraints
java.lang.LinkageError: Class org/xml/sax/InputSource violates loader
constraints
	at
be.axa.phoenix.commonservices.dom.DOMImplementation.parse(DOMImplementation.
java:671)
	at
be.axa.phoenix.commonservices.dom.DOMImplementation.<init>(DOMImplementation
.java:155)
	at
be.axa.phoenix.commonservices.dom.DOMHelper.createDOM(DOMHelper.java:8)
	at
be.axa.phoenix.brokerportal.money.blo.AmountTest.setUp(AmountTest.java:32)
	at junit.framework.TestCase.runBare(TestCase.java:138)
	at junit.framework.TestResult$1.protect(TestResult.java:106)
	at junit.framework.TestResult.runProtected(TestResult.java:124)
	at junit.framework.TestResult.run(TestResult.java:109)
	at junit.framework.TestCase.run(TestCase.java:131)
	at junit.framework.TestSuite.runTest(TestSuite.java:173)
	at junit.framework.TestSuite.run(TestSuite.java, Compiled Code)
	at junit.framework.TestSuite.runTest(TestSuite.java:173)
	at junit.framework.TestSuite.run(TestSuite.java, Compiled Code)
	at junit.framework.TestSuite.runTest(TestSuite.java:173)
	at junit.framework.TestSuite.run(TestSuite.java, Compiled Code)
	at
org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRu
nner.java, Compiled Code)
	at
org.apache.tools.ant.taskdefs.optional.junit.JUnitTask.executeInVM(JUnitTask
.java, Compiled Code)
	at
org.apache.tools.ant.taskdefs.optional.junit.JUnitTask.execute(JUnitTask.jav
a:283)
	at
org.apache.tools.ant.taskdefs.optional.junit.JUnitTask.execute(JUnitTask.jav
a, Compiled Code)
	at org.apache.tools.ant.Target.execute(Target.java, Compiled Code)
	at org.apache.tools.ant.Project.runTarget(Project.java:898)
	at org.apache.tools.ant.Project.executeTarget(Project.java, Compiled
Code)
	at org.apache.tools.ant.Project.executeTargets(Project.java,
Compiled Code)
	at org.apache.tools.ant.Main.runBuild(Main.java, Compiled Code)
	at org.apache.tools.ant.Main.main(Main.java:149)
__________________________________________________

Richard Atherton
Andersen - Project Phoenix
Phone: +32 2 678 8351
Mobile: +44 7939 583728
E-mail: richard.atherton@axa-royalebelge.be
__________________________________________________



Mime
View raw message