• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Struts - NoClassDefFoundError

 
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hello all,

I am using Struts 1.1 and everything compiles, deploys and runs fine. (I'm using WAS 5.0) It's when I do a second deploy that I get the following error message. I then need to restart the server in order to redeploy. Yes, I have commons-collections.jar in the WEB-INF/lib directory. Any ideas?

[12/4/04 21:08:24:746 EST] 48b67c1b ServletInstan E SRVE0058E: Did not realize destroy() exception thrown by servlet action: java.lang.NoClassDefFoundError: org/apache/commons/collections/FastHashMap$KeySet
at org.apache.commons.collections.FastHashMap.keySet(Unknown Source)
at org.apache.struts.action.ActionServlet.destroyDataSources(ActionServlet.java:769)
at org.apache.struts.action.ActionServlet.destroy(ActionServlet.java:431)
at com.ibm.ws.webcontainer.servlet.StrictServletInstance.forceDestroy(StrictServletInstance.java:184)
at com.ibm.ws.webcontainer.servlet.ServletInstance.destroy(ServletInstance.java:484)
at com.ibm.ws.webcontainer.servlet.ServletManager.removeServlet(ServletManager.java:153)
at com.ibm.ws.webcontainer.webapp.WebAppServletManager.removeServlet(WebAppServletManager.java:410)
at com.ibm.ws.webcontainer.servlet.ServletManager.removeAllServlets(ServletManager.java(Compiled Code))
at com.ibm.ws.webcontainer.webapp.WebApp.destroy(WebApp.java(Compiled Code))
at com.ibm.ws.webcontainer.srt.WebGroup.reload(WebGroup.java(Compiled Code))
at com.ibm.ws.webcontainer.WebContainer.reload(WebContainer.java(Compiled Code))
at com.ibm.ws.runtime.component.WebContainerImpl.reload(WebContainerImpl.java(Compiled Code))
at com.ibm.ws.runtime.component.ApplicationMgrImpl$ApplicationNotifier.classChanged(ApplicationMgrImpl.java(Compiled Code))
at com.ibm.ws.classloader.ClassLoaderManager.checkAndNotify(ClassLoaderManager.java(Compiled Code))
at com.ibm.ws.classloader.ClassLoaderManager.access$100(ClassLoaderManager.java(Inlined Compiled Code))
at com.ibm.ws.classloader.ClassLoaderManager$ReloadTimerTask.run(ClassLoaderManager.java(Compiled Code))
at java.util.TimerThread.mainLoop(Timer.java(Compiled Code))
at java.util.TimerThread.run(Timer.java:396)

Thanks,
Vinod.
 
Can you shoot lasers out of your eyes? Don't look at this tiny ad:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic