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

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

devarajt Thiru

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.


Peter Johnson

Joined: May 14, 2008
Posts: 5852

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
author & internet detective

Joined: May 26, 2003
Posts: 33130

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

[OCA 8 book] [Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Other Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, TOGAF part 1 and part 2
I agree. Here's the link:
subject: java.lang.NoClassDefFoundError: weblogic/utils/zip/Handler
jQuery in Action, 3rd edition