This week's book giveaways are in the Java EE and JavaScript forums.
We're giving away four copies each of The Java EE 7 Tutorial Volume 1 or Volume 2(winners choice) and jQuery UI in Action and have the authors on-line!
See this thread and this one for details.
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


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
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: 5823
    
    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: 30356
    
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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: java.lang.NoClassDefFoundError: weblogic/utils/zip/Handler