aspose file tools*
The moose likes Web Services and the fly likes Axis Error java.lang.NoClassDefFoundError: org/apache/commons/discovery/tools/DiscoverSingleton Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Web Services
Bookmark "Axis Error java.lang.NoClassDefFoundError: org/apache/commons/discovery/tools/DiscoverSingleton" Watch "Axis Error java.lang.NoClassDefFoundError: org/apache/commons/discovery/tools/DiscoverSingleton" New topic
Author

Axis Error java.lang.NoClassDefFoundError: org/apache/commons/discovery/tools/DiscoverSingleton

Cloey Tan
Ranch Hand

Joined: Feb 03, 2009
Posts: 60
has anyone here encountered this issue while working with the apache axis?
After referring to axis website, i discover some other jar besides axis.jar have to be there also, how should i modify my maven dependencies?

Currently it refers to axis.jar, what if i have several other jars, like common-discovery etc.. ?
<dependency>
<groupId>org.apache.axis</groupId>
<artifactId>axis</artifactId>
<type>jar</type>
<version>1.4</version>
</dependency>


Cloey Tan
Ranch Hand

Joined: Feb 03, 2009
Posts: 60
i managed to solve the previous error but now getting the QName error, even if i import javax.xml.namespace.QName in the class, im still getting this same error. Has anyone hre encountered this before?

Azahrudhin Mohammad
Greenhorn

Joined: Sep 04, 2012
Posts: 18

Please download the below jar and keep it in your web-inf/lib will solve the problem.

Download Jar

Sorry for Late Entry recently I got the error and I fixed the problem with this.


Thanks and Regards,
azahrudhin.mohd@gmail.com
 
Consider Paul's rocket mass heater.
 
subject: Axis Error java.lang.NoClassDefFoundError: org/apache/commons/discovery/tools/DiscoverSingleton