Skip to Content
author's profile photo Former Member
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 a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • author's profile photo Former Member
    Former Member
    Posted on 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 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.