org.apache.jasper.JasperException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • Business Intelligence Blog: Mondrian + MySQL Setup
    via by Unknown author,
  • 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.
    via by Dumitru Postoronca,
    • org.apache.jasper.JasperException: /WEB-INF/tags/region.tag(35,8) Unknown attribute type (org.apache.rave.portal.model.RegionWidget) for attribute regionWidget. at org.apache.jasper.compiler.DefaultErrorHandler.jspError(DefaultErrorHandler.java:40) at org.apache.jasper.compiler.ErrorDispatcher.dispatch(ErrorDispatcher.java:407) at org.apache.jasper.compiler.ErrorDispatcher.jspError(ErrorDispatcher.java:236) at org.apache.jasper.compiler.Validator$ValidateVisitor.checkXmlAttributes(Validator.java:1199) at org.apache.jasper.compiler.Validator$ValidateVisitor.visit(Validator.java:846) at org.apache.jasper.compiler.Node$CustomTag.accept(Node.java:1530) at org.apache.jasper.compiler.Node$Nodes.visit(Node.java:2361) at org.apache.jasper.compiler.Node$Visitor.visitBody(Node.java:2411) at org.apache.jasper.compiler.Validator$ValidateVisitor.visit(Validator.java:865) at org.apache.jasper.compiler.Node$CustomTag.accept(Node.java:1530) at org.apache.jasper.compiler.Node$Nodes.visit(Node.java:2361) at org.apache.jasper.compiler.Node$Visitor.visitBody(Node.java:2411) at org.apache.jasper.compiler.Node$Visitor.visit(Node.java:2417) at org.apache.jasper.compiler.Node$Root.accept(Node.java:495) at org.apache.jasper.compiler.Node$Nodes.visit(Node.java:2361) at org.apache.jasper.compiler.Validator.validateExDirectives(Validator.java:1763) at org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:198) at org.apache.jasper.compiler.Compiler.compile(Compiler.java:354) at org.apache.jasper.compiler.Compiler.compile(Compiler.java:334) at org.apache.jasper.compiler.Compiler.compile(Compiler.java:321) at org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:592) at org.apache.jasper.servlet.JspServletWrapper.loadTagFile(JspServletWrapper.java:224) at org.apache.jasper.compiler.TagFileProcessor.loadTagFile(TagFileProcessor.java:629) at org.apache.jasper.compiler.TagFileProcessor.access$000(TagFileProcessor.java:52) at org.apache.jasper.compiler.TagFileProcessor$TagFileLoaderVisitor.visit(TagFileProcessor.java:689) at org.apache.jasper.compiler.Node$CustomTag.accept(Node.java:1530) at org.apache.jasper.compiler.Node$Nodes.visit(Node.java:2361) at org.apache.jasper.compiler.Node$Visitor.visitBody(Node.java:2411) at org.apache.jasper.compiler.Node$Visitor.visit(Node.java:2417) at org.apache.jasper.compiler.Node$Root.accept(Node.java:495) at org.apache.jasper.compiler.Node$Nodes.visit(Node.java:2361) at org.apache.jasper.compiler.TagFileProcessor.loadTagFiles(TagFileProcessor.java:707) at org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:210) at org.apache.jasper.compiler.Compiler.compile(Compiler.java:354) at org.apache.jasper.compiler.Compiler.compile(Compiler.java:334) at org.apache.jasper.compiler.Compiler.compile(Compiler.java:321) at org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:592) at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:328) at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:313) at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:260) at javax.servlet.http.HttpServlet.service(HttpServlet.java:717) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)

    Users with the same issue

    Unknown visitor1 times, last one,
    Unknown visitor1 times, last one,
    Unknown visitor1 times, last one,
    treefolk
    6 times, last one,
    Unknown visitor1 times, last one,
    75 more bugmates