cancel
Showing results for 
Search instead for 
Did you mean: 

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

Former Member
0 Kudos

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

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

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