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

Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
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

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.. ?

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

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,
I agree. Here's the link: http://aspose.com/file-tools
subject: Axis Error java.lang.NoClassDefFoundError: org/apache/commons/discovery/tools/DiscoverSingleton
Similar Threads
Reading remote file - difference between linux and windows deployments
Exception when webservice is invoked
JBilling trowing exception with JBoss3.x
Error while calling webservice client from EJB3 SLB Local interface.