Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

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

 
devarajt Thiru
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 5852
7
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Jeanne Boyarsky
author & internet detective
Marshal
Posts: 34095
337
Eclipse IDE Java VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I think Peter meant WebLogic and not WebSphere. Moving it there.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic