aspose file tools
The moose likes Web Services and the fly likes Problem when running with Axis Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Elasticsearch in Action this week in the Big Data forum!
JavaRanch » Java Forums » Java » Web Services
Bookmark "Problem when running with Axis" Watch "Problem when running with Axis" New topic

Problem when running with Axis

vivek ja
Ranch Hand

Joined: Feb 24, 2005
Posts: 80
I am runnign a simple web application using Axis on Tomcat4, and Java1.4
I am getting the error.

java.lang.NoClassDefFoundError: org/apache/commons/discovery/tools/DiscoverSingleton
at org.apache.axis.components.logger.LogFactory$
at Method)
at org.apache.axis.components.logger.LogFactory.getLogFactory(
at org.apache.axis.components.logger.LogFactory.<clinit>(
at org.apache.axis.handlers.BasicHandler.<clinit>(
at org.apache.axis.client.Service.getAxisClient(
at org.apache.axis.client.Service.<init>(

I have axis.jar in my classpath. Am I missing any other jar file.
Please help !

Thank you
Saqib Rasul

Joined: Apr 08, 2005
Posts: 11
Looks like you might be missing some jars. Also look at Axis Installation docs about Jakarta 4.x and JRE 1.4.



<a href="" target="_blank" rel="nofollow"></a><br />- Web Services in 15 minutes -
Aryan Khan
Ranch Hand

Joined: Sep 12, 2004
Posts: 290

looks like u are missing "commons-discovery.jar" in ur classpath.
Ahmad Khan

jQuery in Action, 2nd edition
subject: Problem when running with Axis