org.apache.jasper.JasperException: /pages/login.jsp(37,7) null

Spring JIRA | Dumitru Postoronca | 6 years ago
  1. 0

    I'm trying to migrate an app from JBoss 5.1 to 6.0. Jboss 6.0 fails to compile any JSP file that contains spring security tags (<security:authorize ... >) with the following error: 2011-02-07 19:18:40,713 ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].[localhost].[/].[jsp]] (http-127.0.0.1-8080-1) Servlet.service() for servlet jsp threw exception: org.apache.jasper.JasperException: /pages/login.jsp(37,7) null at org.apache.jasper.compiler.DefaultErrorHandler.jspError(DefaultErrorHandler.java:40) [:6.0.0.Final] at org.apache.jasper.compiler.ErrorDispatcher.dispatch(ErrorDispatcher.java:407) [:6.0.0.Final] at org.apache.jasper.compiler.ErrorDispatcher.jspError(ErrorDispatcher.java:88) [:6.0.0.Final] at org.apache.jasper.compiler.Parser.processIncludeDirective(Parser.java:300) [:6.0.0.Final] at org.apache.jasper.compiler.Parser.parseIncludeDirective(Parser.java:333) [:6.0.0.Final] at org.apache.jasper.compiler.Parser.parseDirective(Parser.java:440) [:6.0.0.Final] at org.apache.jasper.compiler.Parser.parseElements(Parser.java:1398) [:6.0.0.Final] at org.apache.jasper.compiler.Parser.parse(Parser.java:130) [:6.0.0.Final] at org.apache.jasper.compiler.ParserController.doParse(ParserController.java:255) [:6.0.0.Final] at org.apache.jasper.compiler.ParserController.parse(ParserController.java:103) [:6.0.0.Final] at org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:196) [:6.0.0.Final] at org.apache.jasper.compiler.Compiler.compile(Compiler.java:358) [:6.0.0.Final] at org.apache.jasper.compiler.Compiler.compile(Compiler.java:338) [:6.0.0.Final] at org.apache.jasper.compiler.Compiler.compile(Compiler.java:325) [:6.0.0.Final] at org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:607) [:6.0.0.Final] at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:312) [:6.0.0.Final] at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:326) [:6.0.0.Final] at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:253) [:6.0.0.Final] at javax.servlet.http.HttpServlet.service(HttpServlet.java:847) [:1.0.0.Final] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:324) [:6.0.0.Final] HOW TO FIX: Adding "<body-content>JSP</body-content>" to the security.tld file fixes the problem. I have attached the tld file that loads ok in JBoss 6.

    Spring JIRA | 6 years ago | Dumitru Postoronca
    org.apache.jasper.JasperException: /pages/login.jsp(37,7) null
  2. 0

    I'm trying to migrate an app from JBoss 5.1 to 6.0. Jboss 6.0 fails to compile any JSP file that contains spring security tags (<security:authorize ... >) with the following error: 2011-02-07 19:18:40,713 ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].[localhost].[/].[jsp]] (http-127.0.0.1-8080-1) Servlet.service() for servlet jsp threw exception: org.apache.jasper.JasperException: /pages/login.jsp(37,7) null at org.apache.jasper.compiler.DefaultErrorHandler.jspError(DefaultErrorHandler.java:40) [:6.0.0.Final] at org.apache.jasper.compiler.ErrorDispatcher.dispatch(ErrorDispatcher.java:407) [:6.0.0.Final] at org.apache.jasper.compiler.ErrorDispatcher.jspError(ErrorDispatcher.java:88) [:6.0.0.Final] at org.apache.jasper.compiler.Parser.processIncludeDirective(Parser.java:300) [:6.0.0.Final] at org.apache.jasper.compiler.Parser.parseIncludeDirective(Parser.java:333) [:6.0.0.Final] at org.apache.jasper.compiler.Parser.parseDirective(Parser.java:440) [:6.0.0.Final] at org.apache.jasper.compiler.Parser.parseElements(Parser.java:1398) [:6.0.0.Final] at org.apache.jasper.compiler.Parser.parse(Parser.java:130) [:6.0.0.Final] at org.apache.jasper.compiler.ParserController.doParse(ParserController.java:255) [:6.0.0.Final] at org.apache.jasper.compiler.ParserController.parse(ParserController.java:103) [:6.0.0.Final] at org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:196) [:6.0.0.Final] at org.apache.jasper.compiler.Compiler.compile(Compiler.java:358) [:6.0.0.Final] at org.apache.jasper.compiler.Compiler.compile(Compiler.java:338) [:6.0.0.Final] at org.apache.jasper.compiler.Compiler.compile(Compiler.java:325) [:6.0.0.Final] at org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:607) [:6.0.0.Final] at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:312) [:6.0.0.Final] at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:326) [:6.0.0.Final] at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:253) [:6.0.0.Final] at javax.servlet.http.HttpServlet.service(HttpServlet.java:847) [:1.0.0.Final] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:324) [:6.0.0.Final] HOW TO FIX: Adding "<body-content>JSP</body-content>" to the security.tld file fixes the problem. I have attached the tld file that loads ok in JBoss 6.

    Spring JIRA | 6 years ago | Dumitru Postoronca
    org.apache.jasper.JasperException: /pages/login.jsp(37,7) null
  3. 0

    Getting wierd error : Invalid content was found starting with element 'mim - Forums | Liferay

    liferay.com | 1 year ago
    org.apache.jasper.JasperException: /html/common/themes/top_head.jsp(127,0) /html/common/themes/top_js.jspf(240,2) File "/html/portal/layout/view/portlet_js.jspf" not found
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Business Intelligence Blog: Mondrian + MySQL Setup

    phi-integration.com | 3 months ago
    org.apache.jasper.JasperException: javax.servlet.ServletException: javax.servlet.jsp.JspException: org.apache.jasper.JasperException: javax.servlet.ServletException: javax.servlet.jsp.JspException: com.tonbeller.jpivot.olap.model.OlapException: Could not load Jdbc Driver com.mysql.jdbc.Driver
  6. 0

    Liferay 6.2.0 GA1 bug - view_user_panel.jspf - Forums | Liferay

    liferay.com | 12 months ago
    org.apache.jasper.JasperException: /html/portlet/dockbar/view.jsp (line: 220, column: 2) /html/portlet/dockbar/view_user_panel.jspf (line: 32, column: 2) /html/portlet/dockbar/view_user_account.jspf (line: 32, column: 1) File "/html/portlet/dockbar/view_user_account.portal.jspf" not found

  1. treefolk 1 times, last 2 weeks ago
  2. Andreas Häber 1 times, last 1 month ago
  3. Justin 2 times, last 4 months ago
  4. abrazeneb 4 times, last 5 months ago
  5. andyglick 12 times, last 3 months ago
1 more registered users
71 unregistered visitors
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. org.apache.jasper.JasperException

    /pages/login.jsp(37,7) null

    at org.apache.jasper.compiler.DefaultErrorHandler.jspError()
  2. GWT dev
    JspServlet.service
    1. org.apache.jasper.compiler.DefaultErrorHandler.jspError(DefaultErrorHandler.java:40)[:6.0.0.Final]
    2. org.apache.jasper.compiler.ErrorDispatcher.dispatch(ErrorDispatcher.java:407)[:6.0.0.Final]
    3. org.apache.jasper.compiler.ErrorDispatcher.jspError(ErrorDispatcher.java:88)[:6.0.0.Final]
    4. org.apache.jasper.compiler.Parser.processIncludeDirective(Parser.java:300)[:6.0.0.Final]
    5. org.apache.jasper.compiler.Parser.parseIncludeDirective(Parser.java:333)[:6.0.0.Final]
    6. org.apache.jasper.compiler.Parser.parseDirective(Parser.java:440)[:6.0.0.Final]
    7. org.apache.jasper.compiler.Parser.parseElements(Parser.java:1398)[:6.0.0.Final]
    8. org.apache.jasper.compiler.Parser.parse(Parser.java:130)[:6.0.0.Final]
    9. org.apache.jasper.compiler.ParserController.doParse(ParserController.java:255)[:6.0.0.Final]
    10. org.apache.jasper.compiler.ParserController.parse(ParserController.java:103)[:6.0.0.Final]
    11. org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:196)[:6.0.0.Final]
    12. org.apache.jasper.compiler.Compiler.compile(Compiler.java:358)[:6.0.0.Final]
    13. org.apache.jasper.compiler.Compiler.compile(Compiler.java:338)[:6.0.0.Final]
    14. org.apache.jasper.compiler.Compiler.compile(Compiler.java:325)[:6.0.0.Final]
    15. org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:607)[:6.0.0.Final]
    16. org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:312)[:6.0.0.Final]
    17. org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:326)[:6.0.0.Final]
    18. org.apache.jasper.servlet.JspServlet.service(JspServlet.java:253)[:6.0.0.Final]
    18 frames
  3. JavaServlet
    HttpServlet.service
    1. javax.servlet.http.HttpServlet.service(HttpServlet.java:847)[:1.0.0.Final]
    1 frame
  4. Glassfish Core
    ApplicationFilterChain.internalDoFilter
    1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:324)[:6.0.0.Final]
    1 frame