This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line!
See this thread for details.
The moose likes Struts and the fly likes Struts - NoClassDefFoundError Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Struts - NoClassDefFoundError" Watch "Struts - NoClassDefFoundError" New topic

Struts - NoClassDefFoundError

Vinod Kumar

Joined: Jan 27, 2004
Posts: 3
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(
at org.apache.struts.action.ActionServlet.destroy(
at Code))
at Code))
at Code))
at Code))
at Code))
at$ApplicationNotifier.classChanged( Code))
at Code))
at$100( Compiled Code))
at$ Code))
at java.util.TimerThread.mainLoop( Code))

I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link:
subject: Struts - NoClassDefFoundError
It's not a secret anymore!