• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Generating Webservice with Ant. Source2wsdd

 
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

My problem is that when I run ant it loads the task def and starts to execute the source2wsdd task, but then fails with:

** the following 2 lines are from the verbose of the <taskdef source2wsdd>
Finding class weblogic.webservice.tools.ddgen.ServiceGen
Class weblogic.webservice.tools.ddgen.ServiceGen loaded from ant loader
**
[source2wsdd] source2wsdd: Cannot find doclet class weblogic.webservice.tools.ddgen.ServiceGen
[source2wsdd] 1 error
BUILD FAILED
file:C:/MyProjects/WeblogicCMP/development/build/build.xml:255: javadoc execution failed
at weblogic.ant.taskdefs.webservices.autotype.JavaSource2DD.runJavadoc(JavaSource2DD.java:276)
at weblogic.ant.taskdefs.webservices.autotype.JavaSource2DD.execute(JavaSource2DD.java:140)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:166)
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)

But what is even more weird is that that class is contained in the same jar as the taskdef. Any suggestions?
I really was not sure where to post this, but since this particular taskdef is the only one I have this problem with I would presume it to be a weblogic problem. I have identical tasks that do not have classpath problems.
[ November 10, 2003: Message edited by: marcus g. ]
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic