cancel
Showing results for 
Search instead for 
Did you mean: 

Using Struts-Framework on WAS 6.30

Former Member
0 Kudos
177

Hello,

I have a web app with struts. But after deploying there's an exception:

java.lang.NoClassDefFoundError: org/xml/sax/SAXParseException

So I try to deploy the application with the sapxmltoolkit.jar, xerces.jar (1.3.1), and so on. Then there's an other exception:

java.lang.LinkageError: loader constraints violated when linking org/xml/sax/SAXParseException class

Can anybody help me?

Thanks!

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hello Peter

Deploy the application using a reference to the sapxmltoolkit library and do not add any jar to the WAR! You will have to add the following to the application-j2ee-engine.xml file:

This way the application can access a SAXParser from the sapxmltoolkit library. I deployed struts 1.0 applications this way and it worked.

Christoph