File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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 REST with Spring (video course) this week in the Spring 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

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: 32819

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
Consider Paul's rocket mass heater.
subject: java.lang.NoClassDefFoundError: weblogic/utils/zip/Handler
It's not a secret anymore!