[ http://issues.apache.org/struts/browse/STR-2947?page=comments#action_38156 ] Wendy Smoak commented on STR-2947: ----------------------------------
This would better be asked on the user list before opening an issue. My guess is that you are upgrading an existing application to 1.3.5. If so, see if this helps: http://wiki.apache.org/struts/StrutsUpgradeNotes12to13 6. Deployment * If you experience NoClassDefFoundErrors in JSP code after deploying a Struts 1.3 webapp using the same context name it had under a prior version, try deleting the generated .java and .class files related to the JSP files. In Tomcat, these are found under the $TOMCAT_HOME/work directory. > Struts JSP compilation reports NoClassDefFoundError: > org.apache.struts.taglib.tiles.InsertTag > --------------------------------------------------------------------------------------------- > > Key: STR-2947 > URL: http://issues.apache.org/struts/browse/STR-2947 > Project: Struts 1 > Issue Type: Bug > Components: Tiles > Affects Versions: 1.3.5 > Environment: Windows 2000, TomCat 5.5.9 > Reporter: Venkata R Kanugula > Priority: Critical > > During Tiles Insert, the JSP throws an error saying NoClassDefFoundError: > org.apache.struts.taglib.tiles.InsertTag. > I think the class name is messed up. Ideally It should be looking for > org.apache.struts.tiles.taglib.InsertTag. > HTTP Status 500 - > -------------------------------------------------------------------------------- > type Exception report > message > description The server encountered an internal error () that prevented it > from fulfilling this request. > exception > javax.servlet.ServletException: org.apache.struts.taglib.tiles.InsertTag > > org.apache.jasper.runtime.PageContextImpl.doHandlePageException(PageContextImpl.java:848) > > org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:781) > org.apache.jsp.jsp.Wel_jsp._jspService(org.apache.jsp.jsp.Wel_jsp:66) > org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97) > javax.servlet.http.HttpServlet.service(HttpServlet.java:802) > > org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:322) > org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:291) > org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241) > javax.servlet.http.HttpServlet.service(HttpServlet.java:802) > root cause > java.lang.NoClassDefFoundError: org.apache.struts.taglib.tiles.InsertTag > > org.apache.jsp.jsp.Wel_jsp._jspx_meth_tiles_insert_0(org.apache.jsp.jsp.Wel_jsp:78) > org.apache.jsp.jsp.Wel_jsp._jspService(org.apache.jsp.jsp.Wel_jsp:59) > org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97) > javax.servlet.http.HttpServlet.service(HttpServlet.java:802) > > org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:322) > org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:291) > org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241) > javax.servlet.http.HttpServlet.service(HttpServlet.java:802) > note The full stack trace of the root cause is available in the Apache > Tomcat/5.5.9 logs. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/struts/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira
