Thursday, August 30, 2007

XML Error: NoClassDefFoundError: org/w3c/dom/ranges/DocumentRange

error
java.lang.NoClassDefFoundError: org/w3c/dom/ranges/DocumentRange

environment
The following xml jars are in my classpath:
xerces.jar - org.apache.*, org.w3c.dom.html.*, org.w3c.dom.ls.*
xercesImpl.jar - com.sun.org.apache.*


possible causes:
You are missing the DocumentRange class in your classpath.

solution
You may either include dom.jar or xml-apis.jar in your classpath.

No comments: