You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Kim Bilida <KB...@sciss.com> on 2003/07/02 16:41:34 UTC

Upgrading to Struts 1.1 problem with commons-collections

Hello all,

I've upgraded to Struts 1.1 and everything compiles, deploys and runs fine. (I'm using SilverStream4.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?

Thanks,
Kim

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.ja
va:769)
        at org.apache.struts.action.ActionServlet.destroy(ActionServlet.java:431)
        at com.sssw.srv.resources.AgWarResource.destroyServlets(AgWarResource.java:18
14)
        at com.sssw.srv.resources.AgWarResource.stop(AgWarResource.java:3180)
        at com.sssw.srv.resources.AgWarResource.terminate(AgWarResource.java:3245)
        at com.sssw.srv.resources.AgWarResource.deleteContent(AgWarResource.java:397)

        at com.sssw.srv.resources.AgFileResource.delete(AgFileResource.java:1069)
        at com.sssw.srv.resources.HTTPResource.perform(HTTPResource.java:1353)
        at com.sssw.srv.http.httpd.perform(httpd.java:5571)
        at com.sssw.srv.http.Client.processRequest(Client.java:898)
        at com.sssw.srv.http.Client.loop(Client.java:1264)
        at com.sssw.srv.http.Client.runConnection(Client.java:1480)
        at com.sssw.srv.http.Client.run(Client.java:1428)
        at java.lang.Thread.run(Thread.java:479)

---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org


Re: Upgrading to Struts 1.1 problem with commons-collections

Posted by Adam Hardy <ah...@cyberspaceroad.com>.
Did you upgrade the commons-collections.jar in your appserver directory 
to the one from the struts 1.1 install?

Kim Bilida wrote:
> Hello all,
> 
> I've upgraded to Struts 1.1 and everything compiles, deploys and runs fine. (I'm using SilverStream4.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?
> 
> Thanks,
> Kim
> 
> 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.ja
> va:769)
>         at org.apache.struts.action.ActionServlet.destroy(ActionServlet.java:431)
>         at com.sssw.srv.resources.AgWarResource.destroyServlets(AgWarResource.java:18
> 14)
>         at com.sssw.srv.resources.AgWarResource.stop(AgWarResource.java:3180)
>         at com.sssw.srv.resources.AgWarResource.terminate(AgWarResource.java:3245)
>         at com.sssw.srv.resources.AgWarResource.deleteContent(AgWarResource.java:397)
> 
>         at com.sssw.srv.resources.AgFileResource.delete(AgFileResource.java:1069)
>         at com.sssw.srv.resources.HTTPResource.perform(HTTPResource.java:1353)
>         at com.sssw.srv.http.httpd.perform(httpd.java:5571)
>         at com.sssw.srv.http.Client.processRequest(Client.java:898)
>         at com.sssw.srv.http.Client.loop(Client.java:1264)
>         at com.sssw.srv.http.Client.runConnection(Client.java:1480)
>         at com.sssw.srv.http.Client.run(Client.java:1428)
>         at java.lang.Thread.run(Thread.java:479)
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: struts-user-help@jakarta.apache.org
> 
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org