File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

BUILD FAILED java.lang.NoClassDefFoundError: org/apache/xpath/XPathAPI

 
Rohit Alwar
Greenhorn
Posts: 3
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,

I am getting this error while deploying my application


BUILD FAILED

java.lang.NoClassDefFoundError: org/apache/xpath/XPathAPI


I recently update my java version from 1.5 to 1.6.0_24. Application working fine if i change java 1.5.

the environment information is below


OS : LINUX
Java version: 1.6.0_24

JBoss version is: jboss-4.0.3SP1


Thanks in advance

Rohit

 
Ulf Dittmer
Rancher
Pie
Posts: 42966
73
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You should adapt your code to use javax.xml.xpath.XPath instead of the Xerces-specific classes.
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic