| Author |
JBOSS and tiles
|
B Rook
Greenhorn
Joined: Dec 27, 2003
Posts: 13
|
|
I'm getting a tiles error when upgrading from 3.0.8 to 3.2.5. On 3.0.8, this would only cause a warning, but on 3.2.5 this causes a full error that stops the application. It looks like the problem is with the tiles:include tag. Whenever this tag is used, we get an error like this: (On the actual page in the browser) [ServletException in:/WEB-INF/jsp/LoggedUserLayout.jsp] org.apache.struts.taglib.EnumerateTei' (From the stack trace) 15:09:11,218 ERROR [Engine] ApplicationDispatcher[/siteuser] Servlet.service() for servlet jsp threw exception java.lang.ClassNotFoundException: org.apache.struts.taglib.EnumerateTei at java.net.URLClassLoader$1.run(URLClassLoader.java:199) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:187) (further down...) at org.apache.struts.taglib.tiles.InsertTag.doInclude(InsertTag.java:756) at org.apache.struts.taglib.tiles.InsertTag$InsertHandler.doEndTag(InsertTag.java:881) at org.apache.struts.taglib.tiles.InsertTag.doEndTag(InsertTag.java:473) at org.apache.jsp.WEB_002dINF.jsp.overview.CSEWorkerIndex_jsp._jspx_meth_tiles_insert_0(CSEWorkerIndex_jsp.java: 86) at org.apache.jsp.WEB_002dINF.jsp.overview.CSEWorkerIndex_jsp._jspService(CSEWorkerIndex_jsp.java:59) Struts.jar (version 1.1) is in the WEB-INF/lib directory and not in the container lib directory. Here is the code from the .jsp: <%@ taglib uri="/WEB-INF/struts-tiles.tld" prefix="tiles" %> <%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html" %> ... <td valign="top"> <!-- CONTENT HERE --> <tiles:insert attribute="body"/> <!-- End Main Content Here --> </td> Does anyone have a suggestion as to what is the cause? Thanks, Brian
|
 |
 |
|
|
subject: JBOSS and tiles
|
|
|