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 matheus calaça
, 1 year ago
Unable to compile class for JSP: An error occurred at line: [14] in the generated java file: [C:\Users\matheus\AppData\Roaming\NetBeans\8.1\apache-tomcat-8.0.27.0_base\work\Catalina\localhost\crud3\org\apache\jsp\cadPessoa_jsp.java] Only a type can
via Stack Overflow by user1247412
, 2 years ago
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:
via Stack Overflow by pradeep
, 2 weeks ago
Unable to compile class for JSP: An error occurred at line: [156] in the generated java file: [E:\portal.metadata.plugins\org.eclipse.wst.server.core\tmp0\work\Catalina\localhost\uniPAYNEXT_Portal\org\apache\jsp\WEB_002dINF\view\uniPayNext2_0\configurationHome_jsp.java] The code of method _jspService(HttpServletRequest, HttpServletResponse) is exceeding the 65535 bytes limit Stacktrace:
via Stack Overflow by Sergii
, 8 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
, 11 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
org.apache.jasper.JasperException: Unable to compile class for JSP: 
An error occurred at line: [14] in the generated java file: [C:\Users\matheus\AppData\Roaming\NetBeans\8.1\apache-tomcat-8.0.27.0_base\work\Catalina\localhost\crud3\org\apache\jsp\cadPessoa_jsp.java]
Only a type can be imported. br.com.empresa.ludmylla.to.PessoaTO resolves to a package
An error occurred at line: [15] in the generated java file: [C:\Users\matheus\AppData\Roaming\NetBeans\8.1\apache-tomcat-8.0.27.0_base\work\Catalina\localhost\crud3\org\apache\jsp\cadPessoa_jsp.java]
Only a type can be imported. br.com.empresa.ludmylla.to.TransferObject resolves to a package
An error occurred at line: [16] in the generated java file: [C:\Users\matheus\AppData\Roaming\NetBeans\8.1\apache-tomcat-8.0.27.0_base\work\Catalina\localhost\crud3\org\apache\jsp\cadPessoa_jsp.java]
Only a type can be imported. br.com.empresa.ludmylla.controller.PessoaController resolves to a package
Stacktrace:	at org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:102)	at org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:198)	at org.apache.jasper.compiler.JDTCompiler.generateClass(JDTCompiler.java:450)	at org.apache.jasper.compiler.Compiler.compile(Compiler.java:361)	at org.apache.jasper.compiler.Compiler.compile(Compiler.java:336)	at org.apache.jasper.compiler.Compiler.compile(Compiler.java:323)	at org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:585)	at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:363)	at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:396)	at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:340)	at javax.servlet.http.HttpServlet.service(HttpServlet.java:729)	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:291)	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)	at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239)	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)	at org.netbeans.modules.web.monitor.server.MonitorFilter.doFilter(MonitorFilter.java:393)	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239)	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)	at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:217)	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:106)	at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:502)	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:142)	at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:79)	at org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:616)	at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:88)	at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:518)	at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1091)	at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:673)	at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1500)	at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1456)	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)	at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)	at java.lang.Thread.run(Thread.java:745)