I have downloaded and am trying to use jwebunit-1.2. I have integrated it with WebSphere Studio Application Developer 5.1 (based on eclipse 2.1?), using all of (and only) the JAR files included with this distribution. I am receiving the following error:

java.lang.NoSuchMethodError: org.apache.xerces.parsers.DOMParser: method <init>(Lorg/apache/xerces/xni/parser/XMLParserConfiguration;)V not found
at com.meterware.httpunit.parsing.NekoDOMParser.<init>(NekoDOMParser.java:113)
at com.meterware.httpunit.parsing.NekoDOMParser.newParser(NekoDOMParser.java:65)
at com.meterware.httpunit.parsing.NekoHTMLParser.parse(NekoHTMLParser.java:40)
at com.meterware.httpunit.HTMLPage.parse(HTMLPage.java:244)
at com.meterware.httpunit.WebResponse.getReceivedPage(WebResponse.java:1014)
at com.meterware.httpunit.WebResponse$Scriptable.load(WebResponse.java:611)
at com.meterware.httpunit.javascript.JavaScript$Window.initialize(JavaScript.java:424)
at com.meterware.httpunit.javascript.JavaScript.run(JavaScript.java:80)
at com.meterware.httpunit.javascript.JavaScriptEngineFactory.associate(JavaScriptEngineFactory.java:46)
at com.meterware.httpunit.FrameHolder.<init>(FrameHolder.java:44)
at com.meterware.httpunit.WebWindow.<init>(WebWindow.java:218)
at com.meterware.httpunit.WebClient.<init>(WebClient.java:50)
at com.meterware.httpunit.WebConversation.<init>(WebConversation.java:46)
at net.sourceforge.jwebunit.TestContext.getWebClient(TestContext.java:260)
at net.sourceforge.jwebunit.HttpUnitDialog.initWebClient(HttpUnitDialog.java:55)
at net.sourceforge.jwebunit.HttpUnitDialog.<init>(HttpUnitDialog.java:46)
at net.sourceforge.jwebunit.WebTester.beginAt(WebTester.java:55)
at net.sourceforge.jwebunit.WebTestCase.beginAt(WebTestCase.java:46)
at com.nuhorizons.testsuite.reppos.RepPosListTests.testTableOutput(RepPosListTests.java:41)
at java.lang.reflect.Method.invoke(Native Method)
at junit.framework.TestCase.runTest(TestCase.java:154)
at junit.framework.TestCase.runBare(TestCase.java:127)
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:118)
at junit.framework.TestSuite.runTest(TestSuite.java:208)
at junit.framework.TestSuite.run(TestSuite.java:203)
at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:392)
at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:276)
at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:167)


The frustrating thing is that this once appeared to work correctly, and now I can't get it to work any more...

Any help would be appreciated.

_________________________________________________________________
On the road to retirement? Check out MSN Life Events for advice on how to get there! http://lifeevents.msn.com/category.aspx?cid=Retirement




-------------------------------------------------------
This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170
Project Admins to receive an Apple iPod Mini FREE for your judgement on
who ports your project to Linux PPC the best. Sponsored by IBM.
Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php
_______________________________________________
Jwebunit-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jwebunit-users

Reply via email to