org.apache.jasper.JasperException: /index.jsp(2,0) File "/WEB-INF/jsp/includes.jsp" not found

Spring JIRA | Mirko Zeibig | 8 years ago
  1. 0

    If I create an application with a JPA provider but without a domainclass and without a controller some JSPs are missing. Try this: roo> create project -projectName simpleroo -topLevelPackage test roo> install jpa -provider HIBERNATE -database HYPERSONIC_IN_MEMORY mvn packge deploy application in tomcat open application in browser this results in this exception: SCHWERWIEGEND: Servlet.service() for servlet jsp threw exception org.apache.jasper.JasperException: /index.jsp(2,0) File "/WEB-INF/jsp/includes.jsp" not found 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:88) at org.apache.jasper.compiler.Parser.processIncludeDirective(Parser.java:345) at org.apache.jasper.compiler.Parser.parseIncludeDirective(Parser.java:378) at org.apache.jasper.compiler.Parser.parseXMLDirective(Parser.java:552) at org.apache.jasper.compiler.Parser.parseElements(Parser.java:1446) at org.apache.jasper.compiler.Parser.parse(Parser.java:138) at org.apache.jasper.compiler.ParserController.doParse(ParserController.java:216) at org.apache.jasper.compiler.ParserController.parse(ParserController.java:103) at org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:154) at org.apache.jasper.compiler.Compiler.compile(Compiler.java:315) at org.apache.jasper.compiler.Compiler.compile(Compiler.java:295) at org.apache.jasper.compiler.Compiler.compile(Compiler.java:282) at org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:586) at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:317) at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:342) at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:267) at javax.servlet.http.HttpServlet.service(HttpServlet.java:717) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.springframework.orm.jpa.support.OpenEntityManagerInViewFilter.doFilterInternal(OpenEntityManagerInViewFilter.java:113) at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:845) at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583) at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447) at java.lang.Thread.run(Thread.java:613) In the file /src/main/webapp/index.jsp are references to this JSP files: * /WEB-INF/jsp/includes.jsp * /WEB-INF/jsp/header.jsp * /WEB-INF/jsp/footer.jsp none of them is generates, if no domain class and no controller exists.

    Spring JIRA | 8 years ago | Mirko Zeibig
    org.apache.jasper.JasperException: /index.jsp(2,0) File "/WEB-INF/jsp/includes.jsp" not found
  2. 0

    If I create an application with a JPA provider but without a domainclass and without a controller some JSPs are missing. Try this: roo> create project -projectName simpleroo -topLevelPackage test roo> install jpa -provider HIBERNATE -database HYPERSONIC_IN_MEMORY mvn packge deploy application in tomcat open application in browser this results in this exception: SCHWERWIEGEND: Servlet.service() for servlet jsp threw exception org.apache.jasper.JasperException: /index.jsp(2,0) File "/WEB-INF/jsp/includes.jsp" not found 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:88) at org.apache.jasper.compiler.Parser.processIncludeDirective(Parser.java:345) at org.apache.jasper.compiler.Parser.parseIncludeDirective(Parser.java:378) at org.apache.jasper.compiler.Parser.parseXMLDirective(Parser.java:552) at org.apache.jasper.compiler.Parser.parseElements(Parser.java:1446) at org.apache.jasper.compiler.Parser.parse(Parser.java:138) at org.apache.jasper.compiler.ParserController.doParse(ParserController.java:216) at org.apache.jasper.compiler.ParserController.parse(ParserController.java:103) at org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:154) at org.apache.jasper.compiler.Compiler.compile(Compiler.java:315) at org.apache.jasper.compiler.Compiler.compile(Compiler.java:295) at org.apache.jasper.compiler.Compiler.compile(Compiler.java:282) at org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:586) at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:317) at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:342) at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:267) at javax.servlet.http.HttpServlet.service(HttpServlet.java:717) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.springframework.orm.jpa.support.OpenEntityManagerInViewFilter.doFilterInternal(OpenEntityManagerInViewFilter.java:113) at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:845) at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583) at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447) at java.lang.Thread.run(Thread.java:613) In the file /src/main/webapp/index.jsp are references to this JSP files: * /WEB-INF/jsp/includes.jsp * /WEB-INF/jsp/header.jsp * /WEB-INF/jsp/footer.jsp none of them is generates, if no domain class and no controller exists.

    Spring JIRA | 8 years ago | Mirko Zeibig
    org.apache.jasper.JasperException: /index.jsp(2,0) File "/WEB-INF/jsp/includes.jsp" not found
  3. 0

    Error compiling JSP on tomcat8 and java8

    Stack Overflow | 2 years ago | user1247412
    org.apache.jasper.JasperException: Unable to compile class for JSP: An error occurred at line: [768] in the generated java file: [/opt/tomcat/book_store/work/Catalina/localhost/bookStore/org/apache/jsp/WEB_002dINF/jsp/select_005fparameters_jsp.java] bookData cannot be resolved to a variable Stacktrace:
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    K5 + fedora 3.5 problem

    GitHub | 2 years ago | mduda100871
    org.apache.jasper.JasperException: Unable to compile class for JSP: An error occurred at line: 34 in the jsp file: /inc/home/mostDesirables.jsp The method getMostDesirable(int) in the type MostDesirable is not applicable for the arguments (int, int, null) 31: 32: FedoraAccess fedoraAccess = ctxInj.getInstance(com.google.inject.Key.get(FedoraAccess.class, com.google.inject.name.Names.named("securedFedoraAccess"))); 33: 34: List<String> uuids = (List<String>)ctxInj.getInstance(MostDesirable.class).getMostDesirable(18, 0, null); 35: Iterator it = uuids.iterator(); 36: 37: String itemUrl; Stacktrace:
  6. 0

    Error on Startup: org.apache.jasper.JasperException: The absolute uri: http://www.springframework.org/tags cannot be resolved in either web.xml or the jar files deployed with this application

    GitHub | 2 years ago | GoogleCodeExporter
    org.apache.jasper.JasperException: The absolute uri: http://www.springframework.org/tags cannot be resolved in either web.xml or the jar files deployed with this application

  1. abrazeneb 4 times, last 5 months ago
  2. Andreas Häber 1 times, last 1 month ago
  3. Justin 2 times, last 4 months ago
  4. andyglick 12 times, last 3 months ago
  5. Plato2000 6 times, last 7 months ago
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

    /index.jsp(2,0) File "/WEB-INF/jsp/includes.jsp" not found

    at org.apache.jasper.compiler.DefaultErrorHandler.jspError()
  2. GWT dev
    JspServlet.service
    1. org.apache.jasper.compiler.DefaultErrorHandler.jspError(DefaultErrorHandler.java:40)
    2. org.apache.jasper.compiler.ErrorDispatcher.dispatch(ErrorDispatcher.java:407)
    3. org.apache.jasper.compiler.ErrorDispatcher.jspError(ErrorDispatcher.java:88)
    4. org.apache.jasper.compiler.Parser.processIncludeDirective(Parser.java:345)
    5. org.apache.jasper.compiler.Parser.parseIncludeDirective(Parser.java:378)
    6. org.apache.jasper.compiler.Parser.parseXMLDirective(Parser.java:552)
    7. org.apache.jasper.compiler.Parser.parseElements(Parser.java:1446)
    8. org.apache.jasper.compiler.Parser.parse(Parser.java:138)
    9. org.apache.jasper.compiler.ParserController.doParse(ParserController.java:216)
    10. org.apache.jasper.compiler.ParserController.parse(ParserController.java:103)
    11. org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:154)
    12. org.apache.jasper.compiler.Compiler.compile(Compiler.java:315)
    13. org.apache.jasper.compiler.Compiler.compile(Compiler.java:295)
    14. org.apache.jasper.compiler.Compiler.compile(Compiler.java:282)
    15. org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:586)
    16. org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:317)
    17. org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:342)
    18. org.apache.jasper.servlet.JspServlet.service(JspServlet.java:267)
    18 frames
  3. JavaServlet
    HttpServlet.service
    1. javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
    1 frame
  4. Glassfish Core
    ApplicationFilterChain.doFilter
    1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
    2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
    2 frames
  5. Spring ORM
    OpenEntityManagerInViewFilter.doFilterInternal
    1. org.springframework.orm.jpa.support.OpenEntityManagerInViewFilter.doFilterInternal(OpenEntityManagerInViewFilter.java:113)
    1 frame
  6. Spring
    OncePerRequestFilter.doFilter
    1. org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76)
    1 frame
  7. Glassfish Core
    CoyoteAdapter.service
    1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
    2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
    3. org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
    4. org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
    5. org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
    6. org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
    7. org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
    8. org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286)
    8 frames
  8. Grizzly HTTP
    JIoEndpoint$Worker.run
    1. org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:845)
    2. org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
    3. org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
    3 frames
  9. Java RT
    Thread.run
    1. java.lang.Thread.run(Thread.java:613)
    1 frame