This discussion is archived
2 Replies Latest reply: Nov 12, 2012 11:02 AM by 968275 RSS

JWSC ant task  getting java.lang.NoSuchMethodError

968275 Newbie
Currently Being Moderated
Hi all,
I am trying to build a webservice with JWSC ant task in JDK 1.6 which uses JWS annotations and a few weblogic specific annotations.
I am getting the following error while building it.
However, when I build it from my IDE (eclipse) it works fine.
i tried copying the libraries from eclipse and ran the build. But it didn't work.
any one have faced this issue and resolved it ? Please let me know your suggestions.

I am using weblogic 10.3 libraries to build the web service.

jwsctest:
[jwsc] JWS: processing module /CaseStatusWebService

BUILD FAILED

java.lang.NoSuchMethodError: weblogic.wsee.tools.anttasks.DelegatingJavacTask$ExposingJavac.getTempdir()Ljava/io/File;
at weblogic.wsee.tools.anttasks.DelegatingJavacTask.getTempdir(DelegatingJavacTask.java:170)
at weblogic.wsee.tools.anttasks.JwsModule.initialize(JwsModule.java:303)
at weblogic.wsee.tools.anttasks.JwsModule.build(JwsModule.java:252)
at weblogic.wsee.tools.anttasks.JwscTask.execute(JwscTask.java:229)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:193)
at org.apache.tools.ant.Task.perform(Task.java:341)
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:1339)
at org.apache.tools.ant.Project.executeTargets(Project.java:1255)
at org.apache.tools.ant.Main.runBuild(Main.java:609)
at org.apache.tools.ant.Main.start(Main.java:196)
at org.apache.tools.ant.Main.main(Main.java:235)

Thanks,
Sriram

Legend

  • Correct Answers - 10 points
  • Helpful Answers - 5 points