Ah, the joy of classpath issues ;-) - the java equivalent of DLL Hell.

I have not used WSAD, but use eclipse regularly.  I don't have this
problem, but certainly have had classpath issues with XML parsing inside
IDEs before.  My guess is that despite the fact that you believe the IDE to
only be using the jars included with jWebUnit, it's sneaking something in
on you higher up in the classpath.  The jar that would be getting
superceded here is xercesImpl-2.6.2 jar.

To be sure, I'd suggest running your test from the command line.  If you
don't get the error from the command line, but do in WSAD, then you know
WSAD is sneaking a different version of the DOMParser in on you.

Good luck,
Jim

[EMAIL PROTECTED] wrote on 09/21/2004 09:39:57 AM:

> 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



-------------------------------------------------------
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