ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ashok Srnivasan" <skashok2...@gmail.com>
Subject Error while running Ant
Date Fri, 31 Mar 2006 11:23:42 GMT
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(LogFactory.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

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message