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 a comment
10|10000 characters needed characters exceeded

Related questions

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 a 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 a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.