I am executing a class in eclipse through main, and as I result I am getting this error
java.lang.NoClassDefFoundError: org/apache/xpath/XPathAPI
I am using jRE6.
Please help me in solving this
Make sure you have xalan-2.7.1.jar
on your build path.
http://mirrors.ibiblio.org/pub/mirrors/maven2/xalan/xalan/2.7.1/xalan-2.7.1.jar
You must add the apache xpath library to your class path.
来源:https://stackoverflow.com/questions/13602167/java-lang-noclassdeffounderror-org-apache-xpath-xpathapi