aspose file tools*
The moose likes BEA/Weblogic and the fly likes java.lang.NoClassDefFoundError: weblogic/utils/zip/Handler Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » BEA/Weblogic
Bookmark "java.lang.NoClassDefFoundError: weblogic/utils/zip/Handler" Watch "java.lang.NoClassDefFoundError: weblogic/utils/zip/Handler" New topic
Author

java.lang.NoClassDefFoundError: weblogic/utils/zip/Handler

devarajt Thiru
Greenhorn

Joined: Jul 20, 2012
Posts: 1
Hi ,

Please advice me to fix the error when the ant Build runs. it throws the error java.lang.NoClassDefFoundError: weblogic/utils/zip/Handler when the ant build executes the line 'contextURI="Webservice" and all the weblogic related jars are kept under the weblClasspath.Kindly advice , i have been struggling for last 7 seven days.




Regards,

Deva
Peter Johnson
author
Bartender

Joined: May 14, 2008
Posts: 5827
    
    7

You did not post the section of the build.xml where the <servicegen> task is registered. That section should define a classpath that includes the necessary JARs.

Since the servicegen task is really an WebSphere extension to Ant, you might get more help in the WebSphere forum; I'll move your post there.


JBoss In Action
Jeanne Boyarsky
internet detective
Marshal

Joined: May 26, 2003
Posts: 30506
    
150

I think Peter meant WebLogic and not WebSphere. Moving it there.


[Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Blogging on Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, OCAJP, OCPJP beta, TOGAF part 1 and part 2
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: java.lang.NoClassDefFoundError: weblogic/utils/zip/Handler