Skip to Main Content

Java EE (Java Enterprise Edition) General Discussion

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Xerces.jar

843834Sep 9 2002 — edited Sep 11 2002
Hi,
Im using xerces.jar to parse my xml document. It works fine in Websphere Studio Application Developer. But when i moved my code to WebSphere 3.5/above Im getting the following error at runtime.

Message: Server caught unhandled exception from servlet [Auto-Invoker]: Server caught unhandled exception from servlet [com.dcx.itbc.eforms.servlet.Test]: org.apache.xerces.dom.NodeImpl: method (Lorg/apache/xerces/dom/CoreDocumentImpl;)V not found

This is becoz Websphere uses xerces.jar at run time and there is a version conflict of the jar file I used to compile my class and websphere is using.

Now, Im thinking of rewriting my class using JDOM. If JDOM internally uses xerces.jar then this problem wont be resolved.

Could you please let me know whether JDOM uses xerces.jar or is there any other solution to resolve this problem.

Thanks in advance.
MKA
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Oct 9 2002
Added on Sep 9 2002
5 comments
280 views