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