ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From <Jan.Mate...@rzf.fin-nrw.de>
Subject AW: Error while running Ant
Date Fri, 31 Mar 2006 11:49:48 GMT
As the error messages sais, you need the commons-logging library on your (project) classpath.


Jan 

>-----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)
>[wsdl2java]     at org.apache.tools.ant.UnknownElement.execute(
>UnknownElement.java:275)
>[wsdl2java]     at org.apache.tools.ant.Task.perform(Task.java:364)
>[wsdl2java]     at org.apache.tools.ant.Target.execute(Target.java:341)
>[wsdl2java]     at org.apache.tools.ant.Target.performTasks(Target.java
>:369=)
>[wsdl2java]     at 
>org.apache.tools.ant.Project.executeTarget(Project.java
>:1214)
>[wsdl2java]     at 
>org.apache.tools.ant.Project.executeTargets(Project.java
>:1062)
>[wsdl2java]     at org.apache.tools.ant.Main.runBuild(Main.java:673)
>[wsdl2java]     at org.apache.tools.ant.Main.startAnt(Main.java:188)
>[wsdl2java]     at 
>org.apache.tools.ant.launch.Launcher.run(Launcher.java
>:196)
>[wsdl2java]     at org.apache. 
>tools.ant.launch.Launcher.main(Launcher.java
>:55)
>
>
>Thanks,
>S.K.Ashok
>

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


Mime
View raw message