Skip to Content
avatar image
Former Member

Using Struts-Framework on WAS 6.30

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!

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

1 Answer

  • avatar image
    Former Member
    Sep 29, 2003 at 01:05 PM

    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

    Add comment
    10|10000 characters needed characters exceeded