Announcement Announcement Module
Collapse
No announcement yet.
Spring Roo 1.1.4 build snapshot issue(menu.jspx not found) Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • Spring Roo 1.1.4 build snapshot issue(menu.jspx not found)

    I have generated the conrollers using the command

    controller all --package com.mycompnay.myproject

    but after run the application in the tomcat server i am unable to see any menus just the weclome screen only with out menus for all my entities

    The following is the error i could get in the tomcat console saying that no menu.jsp found

    I was wondering why roo has not generated the menu.jsp


    SEVERE: Servlet.service() for servlet jsp threw exception
    javax.servlet.ServletException: File "/WEB-INF/views/menu.jspx" not found
    at org.apache.jasper.servlet.JspServlet.handleMissing Resource(JspServlet.java:335)
    at org.apache.jasper.servlet.JspServlet.serviceJspFil e(JspServlet.java:301)
    at org.apache.jasper.servlet.JspServlet.service(JspSe rvlet.java:260)
    at javax.servlet.http.HttpServlet.service(HttpServlet .java:717)
    at org.apache.catalina.core.ApplicationFilterChain.in ternalDoFilter(ApplicationFilterChain.java:290)
    at org.apache.catalina.core.ApplicationFilterChain.do Filter(ApplicationFilterChain.java:206)
    at org.apache.catalina.core.ApplicationDispatcher.inv oke(ApplicationDispatcher.java:646)
    at org.apache.catalina.core.ApplicationDispatcher.doI nclude(ApplicationDispatcher.java:551)
    at org.apache.catalina.core.ApplicationDispatcher.inc lude(ApplicationDispatcher.java:488)
    at org.apache.jasper.runtime.JspRuntimeLibrary.includ e(JspRuntimeLibrary.java:968)
    at org.apache.jasper.runtime.PageContextImpl.doInclud e(PageContextImpl.java:650)
    at org.apache.jasper.runtime.PageContextImpl.include( PageContextImpl.java:644)
    at org.apache.tiles.jsp.context.JspTilesRequestContex t.include(JspTilesRequestContext.java:103)
    at org.apache.tiles.jsp.context.JspTilesRequestContex t.dispatch(JspTilesRequestContext.java:96)
    at org.apache.tiles.renderer.impl.TemplateAttributeRe nderer.write(TemplateAttributeRenderer.java:44)
    at org.apache.tiles.renderer.impl.AbstractBaseAttribu teRenderer.render(AbstractBaseAttributeRenderer.ja va:106)
    at org.apache.tiles.renderer.impl.ChainedDelegateAttr ibuteRenderer.write(ChainedDelegateAttributeRender er.java:76)
    at org.apache.tiles.renderer.impl.AbstractBaseAttribu teRenderer.render(AbstractBaseAttributeRenderer.ja va:106)
    at org.apache.tiles.impl.BasicTilesContainer.render(B asicTilesContainer.java:670)
    at org.apache.tiles.impl.BasicTilesContainer.render(B asicTilesContainer.java:336)
    at org.apache.tiles.template.InsertAttributeModel.ren derAttribute(InsertAttributeModel.java:210)
    at org.apache.tiles.template.InsertAttributeModel.end (InsertAttributeModel.java:126)
    at org.apache.tiles.jsp.taglib.InsertAttributeTag.doT ag(InsertAttributeTag.java:311)
    at org.apache.jsp.WEB_002dINF.layouts.default_jspx._j spx_meth_tiles_005finsertAttribute_005f1(default_j spx.java:209)
    at org.apache.jsp.WEB_002dINF.layouts.default_jspx._j spService(default_jspx.java:84)
    at org.apache.jasper.runtime.HttpJspBase.service(Http JspBase.java:70)
    at javax.servlet.http.HttpServlet.service(HttpServlet .java:717)
    at org.apache.jasper.servlet.JspServletWrapper.servic e(JspServletWrapper.java:377)
    at org.apache.jasper.servlet.JspServlet.serviceJspFil e(JspServlet.java:313)
    at org.apache.jasper.servlet.JspServlet.service(JspSe rvlet.java:260)
    at javax.servlet.http.HttpServlet.service(HttpServlet .java:717)
    at org.apache.catalina.core.ApplicationFilterChain.in ternalDoFilter(ApplicationFilterChain.java:290)
    at org.apache.catalina.core.ApplicationFilterChain.do Filter(ApplicationFilterChain.java:206)
    at org.apache.catalina.core.ApplicationDispatcher.inv oke(ApplicationDispatcher.java:646)
    at org.apache.catalina.core.ApplicationDispatcher.pro cessRequest(ApplicationDispatcher.java:436)
    at org.apache.catalina.core.ApplicationDispatcher.doF orward(ApplicationDispatcher.java:374)
    at org.apache.catalina.core.ApplicationDispatcher.for ward(ApplicationDispatcher.java:302)
    at org.apache.tiles.servlet.context.ServletTilesReque stContext.forward(ServletTilesRequestContext.java: 241)
    at org.apache.tiles.servlet.context.ServletTilesReque stContext.dispatch(ServletTilesRequestContext.java :222)
    at org.apache.tiles.renderer.impl.TemplateAttributeRe nderer.write(TemplateAttributeRenderer.java:44)
    at org.apache.tiles.renderer.impl.AbstractBaseAttribu teRenderer.render(AbstractBaseAttributeRenderer.ja va:106)
    at org.apache.tiles.impl.BasicTilesContainer.render(B asicTilesContainer.java:670)
    at org.apache.tiles.impl.BasicTilesContainer.render(B asicTilesContainer.java:690)
    at org.apache.tiles.impl.BasicTilesContainer.render(B asicTilesContainer.java:644)
    at org.apache.tiles.impl.BasicTilesContainer.render(B asicTilesContainer.java:627)
    at org.apache.tiles.impl.BasicTilesContainer.render(B asicTilesContainer.java:321)
    at org.springframework.web.servlet.view.tiles2.TilesV iew.renderMergedOutputModel(TilesView.java:124)
    at org.springframework.web.servlet.view.AbstractView. render(AbstractView.java:250)
    at org.springframework.web.servlet.DispatcherServlet. render(DispatcherServlet.java:1047)
    at org.springframework.web.servlet.DispatcherServlet. doDispatch(DispatcherServlet.java:817)
    at org.springframework.web.servlet.DispatcherServlet. doService(DispatcherServlet.java:719)
    at org.springframework.web.servlet.FrameworkServlet.p rocessRequest(FrameworkServlet.java:644)
    at org.springframework.web.servlet.FrameworkServlet.d oGet(FrameworkServlet.java:549)
    at javax.servlet.http.HttpServlet.service(HttpServlet .java:617)
    at javax.servlet.http.HttpServlet.service(HttpServlet .java:717)
    at org.apache.catalina.core.ApplicationFilterChain.in ternalDoFilter(ApplicationFilterChain.java:290)
    at org.apache.catalina.core.ApplicationFilterChain.do Filter(ApplicationFilterChain.java:206)
    at org.springframework.orm.jpa.support.OpenEntityMana gerInViewFilter.doFilterInternal(OpenEntityManager InViewFilter.java:113)
    at org.springframework.web.filter.OncePerRequestFilte r.doFilter(OncePerRequestFilter.java:76)
    at org.apache.catalina.core.ApplicationFilterChain.in ternalDoFilter(ApplicationFilterChain.java:235)
    at org.apache.catalina.core.ApplicationFilterChain.do Filter(ApplicationFilterChain.java:206)
    at org.springframework.web.filter.HiddenHttpMethodFil ter.doFilterInternal(HiddenHttpMethodFilter.java:7 7)
    at org.springframework.web.filter.OncePerRequestFilte r.doFilter(OncePerRequestFilter.java:76)
    at org.apache.catalina.core.ApplicationFilterChain.in ternalDoFilter(ApplicationFilterChain.java:235)
    at org.apache.catalina.core.ApplicationFilterChain.do Filter(ApplicationFilterChain.java:206)
    at org.springframework.web.filter.CharacterEncodingFi lter.doFilterInternal(CharacterEncodingFilter.java :88)
    at org.springframework.web.filter.OncePerRequestFilte r.doFilter(OncePerRequestFilter.java:76)
    at org.apache.catalina.core.ApplicationFilterChain.in ternalDoFilter(ApplicationFilterChain.java:235)
    at org.apache.catalina.core.ApplicationFilterChain.do Filter(ApplicationFilterChain.java:206)
    at org.apache.catalina.core.StandardWrapperValve.invo ke(StandardWrapperValve.java:233)
    at org.apache.catalina.core.StandardContextValve.invo ke(StandardContextValve.java:191)
    at org.apache.catalina.core.StandardHostValve.invoke( StandardHostValve.java:127)
    at org.apache.catalina.valves.ErrorReportValve.invoke (ErrorReportValve.java:102)
    at org.apache.catalina.core.StandardEngineValve.invok e(StandardEngineValve.java:109)
    at org.apache.catalina.connector.CoyoteAdapter.servic e(CoyoteAdapter.java:298)
    at org.apache.coyote.http11.Http11Processor.process(H ttp11Processor.java:857)
    at org.apache.coyote.http11.Http11Protocol$Http11Conn ectionHandler.process(Http11Protocol.java:588)
    at org.apache.tomcat.util.net.JIoEndpoint$Worker.run( JIoEndpoint.java:489)
    at java.lang.Thread.run(Thread.java:619)
    Last edited by suriin; May 13th, 2011, 08:29 AM.

  • #2
    I have the same problem. Can you solve it? Or does anybody have a solution?

    Comment


    • #3
      You should report this issue to JIRA, including the needed info to reproduce the error.

      Comment


      • #4
        Done! https://jira.springsource.org/browse/ROO-2465

        Comment


        • #5
          I can't reproduce this with 1.1.4.RELEASE or our latest code. I reversed engineered a database and all the artifacts were created and the menu generated correctly. You mentioned above that it was a 1.1.4 build-snapshot. Did you try with 1.1.4.RELEASE?
          If still a problem, please attach your DB schema DDL and a backup of the the project without having done the controller all command to the Jira ticket
          Thanks
          Alan

          Comment

          Working...
          X