Thanks Dave for the reply. I did not follow any process. I just wanted to upgrade Struts from1 to 2.0.14. SO read at the user guide that you just need to throw the *.jar files to your lib(http://struts.apache.org/1.x/userGuide/installation.html#Prerequisites). Thats all I did. To upgrade is this not enough what is the complete process to do that ?? Would appreciate any insights.
newton.dave wrote: > > SanJ.SANJAY wrote: >> I am having some issues while upgrading the struts: >> >> I dowloaded the latest 2.0.14 source from mirror and then copied all the >> .jars from the /lib folder to my application /lib folder. Now when I >> restart my Jboss, it throws error for deploying my web application with >> an >> error: >> >> java.lang.ClassCastException: org.apache.struts.tiles.TilesPlugin cannot >> be >> cast to org.apache.struts.action.PlugIn >> at >> org.apache.struts.action.ActionServlet.initModulePlugIns(ActionServlet.java:855) >> at >> org.apache.struts.action.ActionServlet.init(ActionServlet.java:356) >> at javax.servlet.GenericServlet.init(GenericServlet.java:211) >> at >> org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1091) >> at >> org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:925) >> .... >> >> >> :confused: >> >> So I am not sure if this error comes because of new jar files that I >> added >> to upgrade struts or I did not follow the complete process for upgrading >> the >> struts. Any insights??? > > Not knowing what process you followed for the upgrade it's really hard > to say. I'll note, however, that you can't just randomly throw jar files > into a project and expect it to work. > > Struts 2 is *completely* different from Struts 1. Can you be more > specific as to what you've already done? > > Dave > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: user-unsubscr...@struts.apache.org > For additional commands, e-mail: user-h...@struts.apache.org > > > -- View this message in context: http://www.nabble.com/Upgrading-Struts-from-1-to-2.0.14-tp21443421p21443799.html Sent from the Struts - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org