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!

problem with different xerces.jar versions

843834Nov 21 2002 — edited Nov 21 2002
I am building a web application using WSAD5 available for download on ibm website. My application tries to parse and write an XML file. It works fine when i run it in WSAD5.

Since it will be deployed onto websphere 4.0 I tried to make sure that i am also able to run it in WSAD 4 and I keep getting this error message

[02.11.21 13:12:07:772 PST] 6dc24be WebGroup X Servlet Error: org/w3c/dom/ranges/DocumentRange: java.lang.NoClassDefFoundError: org/w3c/dom/ranges/DocumentRange
at java.lang.ClassLoader.defineClass0(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:496)
.........
......

Please note that on further inspection I found that the DocumentRange is present in "org.w3c.dom.range" package and not "ranges". But a search on the net reveals it to be present in both packages causing me to believe that i might have the wrong version of the xerces.jar file.

could someone point me to a location where I can find info on the different versions of the files and whoch one is the latest file.
On my computer I have two xerces.jar files with file sizes 1.4MB and 3MB respectively. Am really confused abt how to resolve this.. Please help
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Dec 19 2002
Added on Nov 21 2002
1 comment
151 views