• 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
  • Paul Clapham
  • Ron McLeod
  • Jeanne Boyarsky
  • Tim Cooke
Sheriffs:
  • Liutauras Vilda
  • paul wheaton
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Tim Holloway
  • Stephan van Hulst
  • Carey Brown
  • Frits Walraven
Bartenders:
  • Piet Souris
  • Himai Minh

Class not found

 
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi all,
Could someone help me please, I'm stuck with this error for some days.
I'm trying to generate client JAR file by using clientgen but it shows error message as below:

Buildfile: build.xml

clean:
[delete] Deleting directory D:\Projects\bss srms\client\static_no_out\build

build:
[mkdir] Created dir: D:\Projects\bss srms\client\static_no_out\build
[clientgen] Generating client jar for http://www.xmethods.net/sd/2001/TemperatureService.wsdl ...

BUILD FAILED
java.lang.NoClassDefFoundError: weblogic/utils/classloaders/ClasspathClassFinder
at weblogic.utils.classloaders.ClasspathClassFinder$ZipFileWrapper.<init>(ClasspathClassFinder.java:403)
at weblogic.utils.classloaders.ClasspathClassFinder.setClasspath(ClasspathClassFinder.java:134)
at weblogic.utils.classloaders.ClasspathClassFinder.setClasspath(ClasspathClassFinder.java:75)
at weblogic.utils.classloaders.ClasspathClassFinder.<init>(ClasspathClassFinder.java:62)
at weblogic.ant.taskdefs.webservices.TaskUtils.setClasspath(TaskUtils.java:139)
at weblogic.ant.taskdefs.webservices.clientgen.ClientGenTask.doClientGen(ClientGenTask.java:349)
at weblogic.ant.taskdefs.webservices.clientgen.ClientGenTask.execute(ClientGenTask.java:208)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
at org.apache.tools.ant.Task.perform(Task.java:348)
at org.apache.tools.ant.Target.execute(Target.java:357)
at org.apache.tools.ant.Target.performTasks(Target.java:385)
at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1337)
at org.apache.tools.ant.Project.executeTarget(Project.java:1306)
at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
at org.apache.tools.ant.Project.executeTargets(Project.java:1189)
at org.apache.tools.ant.Main.runBuild(Main.java:758)
at org.apache.tools.ant.Main.startAnt(Main.java:217)
at org.apache.tools.ant.launch.Launcher.run(Launcher.java:257)
at org.apache.tools.ant.launch.Launcher.main(Launcher.java:104)

Total time: 0 seconds

And this is my build.xml file:


Thank you all in advance!
 
You would be much easier to understand if you took that bucket off of your head. And that goes for the tiny ad too!
free, earth-friendly heat - a kickstarter for putting coin in your pocket while saving the earth
https://coderanch.com/t/751654/free-earth-friendly-heat-kickstarter
reply
    Bookmark Topic Watch Topic
  • New Topic