Uploaded image for project: 'Spring Roo'
  1. Spring Roo
  2. ROO-680

Roo JSP views do not work not compatible with Tomcat 5.5

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Won't Fix
    • Affects Version/s: 1.0.2.RELEASE
    • Fix Version/s: 1.1.0.M1
    • Component/s: WEB MVC
    • Labels:
      None
    • Environment:
      Tomcat 5.5

      Description

      A Spring Roo application is not compatible with JSP 2.0 containers such as Tomcat 5.5 because some views use JSP 2.1 tags. This is known to be a problem with the uncaughtException.jpsx and resourceNotFound.jspx pages. See referenced forum thread.

      ERROR http-8080-Processor20 org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/petclinic].[jsp] - Servlet.service() for servlet jsp threw exception
      java.lang.NoClassDefFoundError: javax/el/ValueExpression
      	at java.lang.Class.getDeclaredMethods0(Native Method)
      	at java.lang.Class.privateGetDeclaredMethods(Class.java:2395)
      	at java.lang.Class.getDeclaredMethods(Class.java:1763)
      	at java.beans.Introspector$1.run(Introspector.java:1265)
      	at java.security.AccessController.doPrivileged(Native Method)
      	at java.beans.Introspector.getPublicDeclaredMethods(Introspector.java:1263)
      	at java.beans.Introspector.getTargetMethodInfo(Introspector.java:1129)
      	at java.beans.Introspector.getBeanInfo(Introspector.java:387)
      	at java.beans.Introspector.getBeanInfo(Introspector.java:159)
      	at java.beans.Introspector.getBeanInfo(Introspector.java:220)
      	at java.beans.Introspector.<init>(Introspector.java:368)
      	at java.beans.Introspector.getBeanInfo(Introspector.java:159)
      	at java.beans.Introspector.getBeanInfo(Introspector.java:220)
      	at java.beans.Introspector.<init>(Introspector.java:368)
      	at java.beans.Introspector.getBeanInfo(Introspector.java:159)
      	at org.apache.jasper.compiler.Generator$TagHandlerInfo.<init>(Generator.java:3734)
      	at org.apache.jasper.compiler.Generator$GenerateVisitor.getTagHandlerInfo(Generator.java:2146)
      	at org.apache.jasper.compiler.Generator$GenerateVisitor.visit(Generator.java:1614)
      	at org.apache.jasper.compiler.Node$CustomTag.accept(Node.java:1442)
      	at org.apache.jasper.compiler.Node$Nodes.visit(Node.java:2166)
      	at org.apache.jasper.compiler.Node$Visitor.visitBody(Node.java:2216)
      	at org.apache.jasper.compiler.Generator$GenerateVisitor.visit(Generator.java:1819)
      	at 
      .....
      ERROR http-8080-Processor20 org.apache.tiles.jsp.taglib.RenderTag - IO Error executing tag: JSPException including path '/WEB-INF/views/uncaughtException.jspx'.
      org.apache.tiles.util.TilesIOException: JSPException including path '/WEB-INF/views/uncaughtException.jspx'.
      	at org.apache.tiles.servlet.context.ServletUtil.wrapServletException(ServletUtil.java:232)
      	at org.apache.tiles.jsp.context.JspTilesRequestContext.include(JspTilesRequestContext.java:105)
      	at org.apache.tiles.jsp.context.JspTilesRequestContext.dispatch(JspTilesRequestContext.java:96)
      	at org.apache.tiles.renderer.impl.UntypedAttributeRenderer.write(UntypedAttributeRenderer.java:61)
      	at org.apache.tiles.renderer.impl.AbstractBaseAttributeRenderer.render(AbstractBaseAttributeRenderer.java:103)
      	at org.apache.tiles.impl.BasicTilesContainer.render(BasicTilesContainer.java:669)
      	at org.apache.tiles.impl.BasicTilesContainer.render(BasicTilesContainer.java:337)
      	at org.apache.tiles.jsp.taglib.InsertAttributeTag.render(InsertAttributeTag.java:234)
      	at org.apache.tiles.jsp.taglib.InsertAttributeTag.render(InsertAttributeTag.java:211)
      	at org.apache.tiles.jsp.taglib.RenderTag.doEndTag(RenderTag.java:220)
      	at org.apache.jsp.WEB_002dINF.layouts.default_jspx._jspx_meth_tiles_005finsertAttribute_005f1(default_jspx.java:467)
      	at org.apache.jsp.WEB_002dINF.layouts.default_jspx._jspService(default_jspx.java:142)
      	at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:98)
      	at javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
      	at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:331)
      	at 
      ...
      

        Attachments

          Activity

            People

            • Assignee:
              sschmidt Stefan Schmidt
              Reporter:
              sdyson Simon Dyson
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: