You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@axis.apache.org by Omar Bennani <ba...@yahoo.fr> on 2005/05/20 14:36:55 UTC

services

hi
i'm trying to use axis/soap
 but when i try to compile thegoogle service i have
this error message:
java org.apache.axis.wsdl.WSDL2Java GoogleSearch.wsdl

Exception in thread "main"
java.lang.NoClassDefFoundError:
org/apache/commons/discovery/tools/Discov
erSingleton
        at
org.apache.axis.components.logger.LogFactory$1.run(LogFactory.java:45)
        at
java.security.AccessController.doPrivileged(Native
Method)
        at
org.apache.axis.components.logger.LogFactory.getLogFactory(LogFactory.java:41)
        at
org.apache.axis.components.logger.LogFactory.<clinit>(LogFactory.java:33)
        at
org.apache.axis.i18n.ProjectResourceBundle.<clinit>(ProjectResourceBundle.java:53)
        at
org.apache.axis.i18n.MessagesConstants.<clinit>(MessagesConstants.java:32)
        at
org.apache.axis.utils.Messages.<clinit>(Messages.java:36)
        at
org.apache.axis.wsdl.WSDL2Java.<clinit>(WSDL2Java.java:112)

what's the matter?



	

	
		
_____________________________________________________________________________ 
Découvrez le nouveau Yahoo! Mail : 1 Go d'espace de stockage pour vos mails, photos et vidéos ! 
Créez votre Yahoo! Mail sur http://fr.mail.yahoo.com

Re: services

Posted by Tom Ziemer <t....@dkfz-heidelberg.de>.
Hi,

it sounds to me like you are missing a jar file. Maybe commons-discovery 
:o)? You might want to try to add this to your classpath along with the 
other jars distributed with axis.

Hope this helps,
Tom

Omar Bennani wrote:
> hi
> i'm trying to use axis/soap
>  but when i try to compile thegoogle service i have
> this error message:
> java org.apache.axis.wsdl.WSDL2Java GoogleSearch.wsdl
> 
> Exception in thread "main"
> java.lang.NoClassDefFoundError:
> org/apache/commons/discovery/tools/Discov
> erSingleton
>         at
> org.apache.axis.components.logger.LogFactory$1.run(LogFactory.java:45)
>         at
> java.security.AccessController.doPrivileged(Native
> Method)
>         at
> org.apache.axis.components.logger.LogFactory.getLogFactory(LogFactory.java:41)
>         at
> org.apache.axis.components.logger.LogFactory.<clinit>(LogFactory.java:33)
>         at
> org.apache.axis.i18n.ProjectResourceBundle.<clinit>(ProjectResourceBundle.java:53)
>         at
> org.apache.axis.i18n.MessagesConstants.<clinit>(MessagesConstants.java:32)
>         at
> org.apache.axis.utils.Messages.<clinit>(Messages.java:36)
>         at
> org.apache.axis.wsdl.WSDL2Java.<clinit>(WSDL2Java.java:112)
> 
> what's the matter?
> 
> 
> 
> 	
> 
> 	
> 		
> _____________________________________________________________________________ 
> Découvrez le nouveau Yahoo! Mail : 1 Go d'espace de stockage pour vos mails, photos et vidéos ! 
> Créez votre Yahoo! Mail sur http://fr.mail.yahoo.com