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:

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

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 Stack Overflow by Sergii
, 5 months ago
Unable to compile class for JSP: An error occurred at line: 1 in the generated java file The type java.util.Map$Entry cannot be resolved. It is indirectly referenced from required .class files An error occurred at line: 1 in the generated java file The type java.io.ObjectInputStream cannot be resolved. It is indirectly referenced from required .class files Stacktrace:
via Stack Overflow by Kiran Mohan
, 8 months ago
Unable to compile class for JSP: An error occurred at line: 1 in the generated java file The type java.io.ObjectInputStream cannot be resolved. It is indirectly referenced from required .class files Stacktrace:
via Atlassian JIRA by Bogdan Dziedzic [Atlassian], 1 year ago
Unable to compile class for JSP: An error occurred at line: 39 in the jsp file: /decorators/admin.jsp Type mismatch: cannot convert from Object to ReindexMessageManager 36: HttpSession httpSession = request.getSession(false); //dont
via atlassian.com by Unknown author, 2 years ago
Unable to compile class for JSP: An error occurred at line: 39 in the jsp file: /decorators/admin.jsp Type mismatch: cannot convert from Object to ReindexMessageManager 36: HttpSession httpSession = request.getSession(false); //dont
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 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 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.coyote.http11.Http11Processor.process(Http11Processor.java:845)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
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)

Users with the same issue

12 times, 1 year ago
14 times, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 month ago
Samebug visitor profile picture
Unknown user
Once, 6 months ago
Samebug visitor profile picture
Unknown user
Once, 8 months ago

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.