• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

JBOSS and tiles

 
Greenhorn
Posts: 13
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
 
Tongue wrestling. It's not what you think. And here, take this tiny ad. You'll need it.
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic