Skip to Content
author's profile photo Former Member
Former Member

Problem with xml parser

Hello!

I would like tp parse a xml-file.

I use the DocumentBuilderFactory from IBM XML-API,

but I get the error:

java.lang.NoClassDefFoundError: javax/xml/parsers/DocumentBuilderFactory

All xml librarys are included!

What's the reason for this?

May there be a conflict between xml portal classes and IBM API classes?

Thanks for your help!

Thomas

Add comment
10|10000 characters needed characters exceeded

2 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Mar 30, 2004 at 10:13 AM

    Hi

    We use the SAX builder and have no problems with this. I add the files jdom.jar and sax.jar in PORTAL-INF/lib.

    Unfortunately I have never used the DocumentBuilderFactory.

    Good Luck// -Fred

    Add comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Mar 30, 2004 at 12:05 PM

    Hi,

    it seems as you have not requested the corresponding portal service in your default profile properties. Do you work with Eclipse? Which EP version do you work with?

    Greets

    Matthias

    Add comment
    10|10000 characters needed characters exceeded