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 Michael Woinoski <mi...@pineneedleconsulting.com> on 2003/06/17 21:11:04 UTC
Newbie: problem with Wsdl2javaAntTask: NoSuchMethodError
The axis-wsdl2java task in Axis 1.1 is throwing an exception. axis-admin works
fine (although I had to set the classpath externally via antrc_pre.bat) and I
can run WSDL2Java from the command line. Any idea what the problem is with
axis-wsdl2java?
Here's the element in build.xml:
<axis-wsdl2java output="build/client" verbose="true" url="${service.wsdl.uri}"
/>
Here's the Ant output:
Running Wsdl2javaAntTask with parameters:
verbose:true
server-side:false
skeletonDeploy:false
helperGen:false
factory:null
testCase:false
noImports:false
NStoPkg:{}
output:C:\crs577\SourceCode\ex41\solutions\build\client
deployScope:
URL:http://localhost:8080/axis/services/RainOrderService?WSDL
all:false
typeMappingVersion:1.1
timeout:45000
failOnNetworkErrors:false
printStackTraceOnFailure:true
java.lang.NoSuchMethodError:
org.apache.axis.wsdl.toJava.Emitter.setNStoPkg(Ljava/io/File;)V
at org.apache.axis.tools.ant.wsdl.Wsdl2javaAntTask.execute(Unknown
Source)
at org.apache.tools.ant.Task.perform(Task.java:319)
at org.apache.tools.ant.Target.execute(Target.java:309)
at org.apache.tools.ant.Target.performTasks(Target.java: 336)
at org.apache.tools.ant.Project.executeTarget(Project.java:1306)
at org.apache.tools.ant.Project.executeTargets(Project.java:1250)
at org.apache.tools.ant.Main.runBuild(Main.java:610)
at org.apache.tools.ant.Main.start(Main.java:196)
at org.apache.tools.ant.Main.main(Main.java:235)
Thanks,
Mike
--
Mike Woinoski Pine Needle Consulting
mailto:michaelw@pineneedleconsulting.com