my dog learned polymorphism*
The moose likes JBoss/WildFly and the fly likes JBOSS and tiles Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » JBoss/WildFly
Bookmark "JBOSS and tiles" Watch "JBOSS and tiles" New topic
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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: JBOSS and tiles
 
Similar Threads
Struts error
problem with struts1.1 please help me...
Getting error while invoking JSP page having Tag Libraries on Websphere Application Server 6.1
URI cannot be resolved
Why: File "/WEB-INF/struts-html.tld" not found.