Return-Path: Delivered-To: apmail-jakarta-ant-user-archive@jakarta.apache.org Received: (qmail 17613 invoked by uid 500); 28 Aug 2001 13:53:15 -0000 Mailing-List: contact ant-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: Reply-To: ant-user@jakarta.apache.org Delivered-To: mailing list ant-user@jakarta.apache.org Received: (qmail 17604 invoked from network); 28 Aug 2001 13:53:15 -0000 Message-ID: From: Atherton Richard - Z9V To: ant-user@jakarta.apache.org Subject: Class org/xml/sax/InputSource violates loader constraints Date: Tue, 28 Aug 2001 15:52:38 +0200 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2650.21) Content-Type: text/plain; charset="iso-8859-1" X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N 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.(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 __________________________________________________