I ran across this a little while ago -- put the right parser (in
this case, Xerces) first in your classpath and see what happens. The
problem is that every app has its own XML parser but not all of them
implement DOM-2 specifications.
Hope this helps.
Chris
----- Original Message -----
From: <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, January 31, 2001 3:26 PM
Subject: [jBoss-User] JBoss and JDOM
> I use JDOM to parse data out of XML files. The parsing works fine
outsite
> of JBoss. When I parse XML files from within JBoss, I get a
> "NoSuchMethodException"
> when I try to invoke the second of these two statements:
>
> org.jdom.input.DOMBuilder builder = new
org.jdom.input.DOMBuilder("org.jdom.adapters.XercesDOMAdapter",
false);
> org.jdom.Document document = builder.build(new File(xmlPath));
>
> Does any-one have an idea what the problem could be?
>
> Thank you for any-one's help!
>
> Thomas Kirsch
>
>
>
> --
> --------------------------------------------------------------
> To subscribe: [EMAIL PROTECTED]
> To unsubscribe: [EMAIL PROTECTED]
> List Help?: [EMAIL PROTECTED]
>
>
--
--------------------------------------------------------------
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
List Help?: [EMAIL PROTECTED]