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 Stack Overflow by xyz rety
, 1 year 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 Stack Overflow by Kavita
, 1 year 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 An error occurred at line: 26 in the generated java file The method getJspApplicationContext(ServletContext) is undefined for the type JspFactory Stacktrace:
via GitHub by arpitgupta026
, 2 years 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 Stacktrace:
via com.br by Unknown author, 1 year 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 Stacktrace:
via Coderanch by Milind Wakale, 1 year ago
valueOf(String) in the type Long is not applicable for the arguments (long) An error occurred at line: 31 in the generated java file The type Map is not generic; it cannot be parameterized with arguments <String, Long> An error occurred at line: 32 in the generated java file _jspx_dependants cannot be resolved to a variable Stacktrace:
via Stack Overflow by neel4soft
, 2 years ago
Unable to compile class for JSP: An error occurred at line: [31] in the generated java file: [C:\Users\nagesh.chauhan\workspace\.metadata\.plugins\org.eclipse.wst.server.core\tmp0\work\Catalina\localhost\AdminPanel\org\apache\jsp\index_jsp.java] The method getJspApplicationContext(ServletContext) is undefined for the type JspFactory Stacktrace:
org.apache.jasper.JasperException: 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:	at org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:95)	at org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:330)	at org.apache.jasper.compiler.JDTCompiler.generateClass(JDTCompiler.java:457)	at org.apache.jasper.compiler.Compiler.compile(Compiler.java:374)	at org.apache.jasper.compiler.Compiler.compile(Compiler.java:352)	at org.apache.jasper.compiler.Compiler.compile(Compiler.java:339)	at org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:594)	at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:344)	at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:391)	at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:334)	at javax.servlet.http.HttpServlet.service(HttpServlet.java:722)	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:304)	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)	at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:240)	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:164)	at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:462)	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:164)	at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:100)	at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:562)	at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)	at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:395)	at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:250)	at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:188)	at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:166)	at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:302)	at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)	at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)	at java.lang.Thread.run(Unknown Source)