aspose file tools
The moose likes JBoss and the fly likes BUILD FAILED  java.lang.NoClassDefFoundError: org/apache/xpath/XPathAPI Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Products » JBoss
Reply 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: 35224
    
    7
You should adapt your code to use javax.xml.xpath.XPath instead of the Xerces-specific classes.


Android appsImageJ pluginsJava web charts
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: BUILD FAILED java.lang.NoClassDefFoundError: org/apache/xpath/XPathAPI
 
Similar Threads
Wagon-ssh with Maven 2.2
XPathAPI and performance issue
problem in XML Parsing using XPathAPI
Jboss.security - authentication error in Jboss 7
Unable to deploy .war file.