See if you have axis-ant.jar dumped in your ant lib directory. It should not be present there. Remove it and try.
Thank you, Jayachandra On Tue, 26 Oct 2004 10:13:00 -0400, Koney, Satish <[EMAIL PROTECTED]> wrote: > I am getting the following error while trying to run wsdl2java using ant. > > BUILD FAILED: C:\Service\FinalSvc\build.xml:28: taskdef A class needed by > class org.apache.axis.tools.ant.wsdl.Wsdl2javaAntTask cannot be found: > org/apache/tools/ant/Task > Total time: 1 second > > <taskdef name="wsdl2java" > classname="org.apache.axis.tools.ant.wsdl.Wsdl2javaAntTask"> > </taskdef> > > But the ant.jar is in the classpath.. > > Any ideas??? > > Thanks, > SSSS. > > ____________________________________________ > Confidential: This electronic message and all contents contain information > from Syntel, Inc. which may be privileged, confidential or otherwise > protected from disclosure. The information is intended to be for the > addressee only. If you are not the addressee, any disclosure, copy, > distribution or use of the contents of this message is prohibited. If you > have received this electronic message in error, please notify the sender > immediately and destroy the original message and all copies. > -- -- Jaya