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

Could not load XML parser: SAX2 driver class org.apache.xerces.parsers.SAXP

Hi freinds,

I developed a portal application in which I am parsing a xml file. I built the par and deployed it on the server. While running the application it gives the following error:

<i>java.io.IOException: Could not load XML parser: SAX2 driver class org.apache.xerces.parsers.SAXParser not found</i>

I added the xerces.jar file to <sapj2eeroot>/cluster/server/additional-lib

and also to

<sapj2eeroot>/cluster/dispatcher/additional-lib

Even i tried adding the jar file to the lib folder of my project.

PORTAL-INF -> lib

PORTAL-INF -> Private -> lib

Still it is giving the same error.

I am using SAP J2EE 6.20 and EP6SP2 on solaris.

Suggestions are welcome.

Regards,

Nilz

Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • author's profile photo Former Member
    Former Member
    Posted on Aug 31, 2006 at 08:37 PM

    I put the required jar file in additional-lib folder and added the name of it to the library.txt file.

    the path for both the files is:

    <sapj2eeroot>/cluster/server/managers/library.txt

    <sapj2eeroot>/cluster/server/additional-lib

    Regards,

    Nilz

    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.