org.apache.jasper.JasperException

Unable to compile class for JSP: An error occurred at line: 7 in the generated java file org.apache.jasper.runtime.HttpJspBase cannot be resolved to a type An error occurred at line: 8 in the generated java file org.apache.jasper.runtime.JspSourceDependent cannot be resolved to a type An error occurred at line: 19 in the generated java file org.apache.jasper.runtime.TagHandlerPool cannot be resolved to a type An error occurred at line: 22 in the generated java file org.apache.AnnotationProcessor cannot be resolved to a type An error occurred at line: 29 in the generated java file _005fjspx_005ftagPool_005fc_005fredirect_0026_005furl_005fnobody cannot be resolved An error occurred at line: 29 in the generated java file org.apache.jasper.runtime.TagHandlerPool cannot be resolved to a type An error occurred at line: 29 in the generated java file The method getServletConfig() is undefined for the type index_jsp An error occurred at line: 30 in the generated java file The method getServletConfig() is undefined for the type index_jsp An error occurred at line: 31 in the generated java file _jsp_annotationprocessor cannot be resolved An error occurred at line: 31 in the generated java file org.apache.AnnotationProcessor cannot be resolved to a type An error occurred at line: 31 in the generated java file The method getServletConfig() is undefined for the type index_jsp An error occurred at line: 31 in the generated java file org.apache.AnnotationProcessor cannot be resolved to a type An error occurred at line: 35 in the generated java file _005fjspx_005ftagPool_005fc_005fredirect_0026_005furl_005fnobody cannot be resolved An error occurred at line: 53 in the generated java file The method getPageContext(Servlet, ServletRequest, ServletResponse, String, boolean, int, boolean) in the type JspFactory is not applicable for the arguments (index_jsp, HttpServletRequest, HttpServletResponse, null, boolean, int, boolean) An error occurred at line: 4 in the jsp file: /index.jsp _005fjspx_005ftagPool_005fc_005fredirect_0026_005furl_005fnobody cannot be resolved 1: <%@ include file="/WEB-INF/jsp/includes.jsp" %> 2: 3: <%-- Redirected because we can't set the welcome page to a virtual URL. --%> 4: <c:redirect url="/welcome.do"/> 5: An error occurred at line: 98 in the generated java file _005fjspx_005ftagPool_005fc_005fredirect_0026_005furl_005fnobody cannot be resolved An error occurred at line: 101 in the generated java file _005fjspx_005ftagPool_005fc_005fredirect_0026_005furl_005fnobody cannot be resolved Stacktrace:

Solutions on the web2611

  • via SpringSource Issue Tracker by Radhika Madala (c), 1 year ago
    org.apache.jasper.runtime.TagHandlerPool cannot be resolved to a type An error occurred at line: 29 in the generated java file The method getServletConfig() is undefined for the type index_jsp An error occurred at line: 30 in the generated java file The method
  • via SpringSource Issue Tracker by Radhika Madala (c), 1 year ago
    org.apache.jasper.runtime.TagHandlerPool cannot be resolved to a type An error occurred at line: 29 in the generated java file The method getServletConfig() is undefined for the type index_jsp An error occurred at line: 30 in the generated java file The method
  • via Google Groups by ksafez216, 1 year ago
    Unable to compile class for JSP: An error occurred at line: 7 in the generated java file org.apache.jasper.runtime.HttpJspBase cannot be resolved to a type An error occurred at line: 8 in the generated java file
  • Stack trace

    • org.apache.jasper.JasperException: Unable to compile class for JSP: An error occurred at line: 7 in the generated java file org.apache.jasper.runtime.HttpJspBase cannot be resolved to a type An error occurred at line: 8 in the generated java file org.apache.jasper.runtime.JspSourceDependent cannot be resolved to a type An error occurred at line: 19 in the generated java file org.apache.jasper.runtime.TagHandlerPool cannot be resolved to a type An error occurred at line: 22 in the generated java file org.apache.AnnotationProcessor cannot be resolved to a type An error occurred at line: 29 in the generated java file _005fjspx_005ftagPool_005fc_005fredirect_0026_005furl_005fnobody cannot be resolved An error occurred at line: 29 in the generated java file org.apache.jasper.runtime.TagHandlerPool cannot be resolved to a type An error occurred at line: 29 in the generated java file The method getServletConfig() is undefined for the type index_jsp An error occurred at line: 30 in the generated java file The method getServletConfig() is undefined for the type index_jsp An error occurred at line: 31 in the generated java file _jsp_annotationprocessor cannot be resolved An error occurred at line: 31 in the generated java file org.apache.AnnotationProcessor cannot be resolved to a type An error occurred at line: 31 in the generated java file The method getServletConfig() is undefined for the type index_jsp An error occurred at line: 31 in the generated java file org.apache.AnnotationProcessor cannot be resolved to a type An error occurred at line: 35 in the generated java file _005fjspx_005ftagPool_005fc_005fredirect_0026_005furl_005fnobody cannot be resolved An error occurred at line: 53 in the generated java file The method getPageContext(Servlet, ServletRequest, ServletResponse, String, boolean, int, boolean) in the type JspFactory is not applicable for the arguments (index_jsp, HttpServletRequest, HttpServletResponse, null, boolean, int, boolean) An error occurred at line: 4 in the jsp file: /index.jsp _005fjspx_005ftagPool_005fc_005fredirect_0026_005furl_005fnobody cannot be resolved 1: <%@ include file="/WEB-INF/jsp/includes.jsp" %> 2: 3: <%-- Redirected because we can't set the welcome page to a virtual URL. --%> 4: <c:redirect url="/welcome.do"/> 5: An error occurred at line: 98 in the generated java file _005fjspx_005ftagPool_005fc_005fredirect_0026_005furl_005fnobody cannot be resolved An error occurred at line: 101 in the generated java file _005fjspx_005ftagPool_005fc_005fredirect_0026_005furl_005fnobody cannot be resolved Stacktrace: at org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:92) at org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:330) at org.apache.jasper.compiler.JDTCompiler.generateClass(JDTCompiler.java:423) at org.apache.jasper.compiler.Compiler.compile(Compiler.java:317) 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:803) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290) 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.valves.CometConnectionManagerValve.invoke(CometConnectionManagerValve.java:248) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128) at com.springsource.server.servlet.tomcat.internal.StandardApplicationNameTracker$ApplicationNameTrackingValve.invoke(StandardApplicationNameTracker.java:99) at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:568) 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$SocketProcessor.run(JIoEndpoint.java:354) at com.springsource.kernel.concurrent.ExecutorServiceDelegate$KernelRunnable.run(ExecutorServiceDelegate.java:119) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:885) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907) at java.lang.Thread.run(Thread.java:637)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    Unknown user
    Once, 4 weeks ago
    Unknown user
    Once, 2 months ago
    Unknown user
    Once, 2 months ago
    Unknown user
    Once, 4 months ago
    6 times, 6 months ago
    73 more bugmates