You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ant.apache.org by Steve Loughran <st...@apache.org> on 2006/04/02 22:02:26 UTC

Re: AW: Error while running Ant

Jan.Materne@rzf.fin-nrw.de wrote:
> As the error messages sais, you need the commons-logging library on your (project) classpath.
> 
> 
> Jan 

Also, the stack trace implies its an apache Axis problem. Their mailing 
lists are the best places for support related to that task. The 
dependencies of Apache Axis are pretty complex and everyone here will 
deny all knowledge of them, including myself.

-steve

> 
> 
>>-----Ursprüngliche Nachricht-----
>>Von: Ashok Srnivasan [mailto:skashok2005@gmail.com] 
>>Gesendet: Freitag, 31. März 2006 13:24
>>An: user@ant.apache.org
>>Betreff: Error while running Ant
>>
>>Hi,
>> I am running the ant script.In the script I am processing 
>>one wsdl file.The ant throws the following error.
>>
>>Can anybody explain why the following error is raised ?
>>
>>Error :
>>
>>java.lang.NoClassDefFoundError: org.apache.commons.logging.LogFactory
>>[wsdl2java]
>>java.lang.NoClassDefFoundError:org.apache.commons.logging.LogFactory
>>[wsdl2java]     at org.apache.axis.components.logger.LogFactory.class$(
>>LogFactory.java:45)
>>[wsdl2java]     at org.apache.axis.components.logger.LogFactory$1.run(
>>LogFactory.java:45)
>>[wsdl2java]     at 
>>java.security.AccessController.doPrivileged(NativeMethod)
>>[wsdl2java]     at
>>org.apache.axis.components.logger.LogFactory.getLogFactory(LogF
>>actory.java
>>:41)
>>[wsdl2java]     at 
>>org.apache.axis.components.logger.LogFactory.<clinit>(
>>LogFactory.java:33)
>>[wsdl2java]     at org.apache.axis.encoding.TypeMappingImpl.<clinit>(
>>TypeMappingImpl.java:76)
>>[wsdl2java]     at 
>>org.apache.axis.encoding.TypeMappingRegistryImpl.<init>(
>>TypeMappingRegistryImpl.java:155)
>>[wsdl2java]     at 
>>org.apache.axis.encoding.TypeMappingRegistryImpl.<init>(
>>TypeMappingRegistryImpl.java:149)
>>[wsdl2java]     at 
>>org.apache.axis.wsdl.toJava.Emitter.<init>(Emitter.java
>>:144)
>>[wsdl2java]     at
>>org.apache.axis.tools.ant.wsdl.Wsdl2javaAntTask.createEmitter(
>>Wsdl2javaAntTask.java:615)
>>[wsdl2java]     at 
>>org.apache.axis.tools.ant.wsdl.Wsdl2javaAntTask.execute(
>>Wsdl2javaAntTask.java:211)


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org