aspose file tools*
The moose likes JBoss/WildFly and the fly likes BUILD FAILED  java.lang.NoClassDefFoundError: org/apache/xpath/XPathAPI Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » JBoss/WildFly
Bookmark "BUILD FAILED  java.lang.NoClassDefFoundError: org/apache/xpath/XPathAPI" Watch "BUILD FAILED  java.lang.NoClassDefFoundError: org/apache/xpath/XPathAPI" New topic
Author

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

Rohit Alwar
Greenhorn

Joined: Oct 03, 2010
Posts: 3
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
Marshal

Joined: Mar 22, 2005
Posts: 39547
    
  27
You should adapt your code to use javax.xml.xpath.XPath instead of the Xerces-specific classes.


Ping & DNS - updated with new look and Ping home screen widget
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: BUILD FAILED java.lang.NoClassDefFoundError: org/apache/xpath/XPathAPI
 
Similar Threads
problem in XML Parsing using XPathAPI
XPathAPI and performance issue
Wagon-ssh with Maven 2.2
Jboss.security - authentication error in Jboss 7
Unable to deploy .war file.