Thomas,
I'm using JDOM a lot inside/outside jBoss.
I've just dropped jdom.jar and xerces.jar
into jboss/lib/ext (I didn't include them
into ejb-jar, because almost all my beans
use jdom).
When I need to create new builder I just
call default constructor, eg:
SAXBilder builder = new SAXBuilder();
Document jDocument = builder.build(new File(xmlFile));
Everything works like a charm.
Regards,
Alex.
[EMAIL PROTECTED] wrote:
>
> 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]
--
__________________________________________________
Alexander Kogan PTC www.ptc.com
[EMAIL PROTECTED] 140 Kendrick St. Needham MA 02494
--
--------------------------------------------------------------
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
List Help?: [EMAIL PROTECTED]