java.lang.NoClassDefFoundError: org/apache/xpath/XPathAPI
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/13602167/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
java.lang.NoClassDefFoundError: org/apache/xpath/XPathAPI
提问by Sashi Kant
I am executing a class in eclipse through main, and as I result I am getting this error
我正在通过 main 在 eclipse 中执行一个类,结果我收到了这个错误
java.lang.NoClassDefFoundError: org/apache/xpath/XPathAPI
I am using jRE6.
我正在使用 jRE6。
Please help me in solving this
请帮我解决这个问题
回答by Kevin Bowersox
Make sure you have xalan-2.7.1.jar
on your build path.
确保你xalan-2.7.1.jar
在你的构建路径上。
http://mirrors.ibiblio.org/pub/mirrors/maven2/xalan/xalan/2.7.1/xalan-2.7.1.jar
http://mirrors.ibiblio.org/pub/mirrors/maven2/xalan/xalan/2.7.1/xalan-2.7.1.jar
回答by Olaf Dietsche
You must add the apache xpath libraryto your class path.
您必须将apache xpath 库添加到您的类路径中。