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 openxava by jordi78
, 1 year ago
No se puede compilar la clase para JSP: Ha tenido lugar un error en la línea: 27 en el archivo jsp: /naviox/selectModules.jsp The type java.lang.CharSequence cannot be resolved. It is indirectly referenced from required .class files 24: String
via Stack Overflow by Mike Barnes
, 1 year ago
Unable to compile class for JSP: An error occurred at line: 411 in the jsp file: /pages/includes/required_fields_incl.jsp ITEM_STATUS_DISPOSED_LOCALLY cannot be resolved or is not a field 408: currentElementName=currentElement.name; 409
via okky.kr by Unknown author, 2 years ago
Unable to compile class for JSP: An error occurred at line: 23 in the generated java file The method getJspApplicationContext(ServletContext) is undefined for the type JspFactory Stacktrace:
via Stack Overflow by raghu nadh
, 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 Alexandr Antonovich, 1 year ago
\contactmanager\org\apache\jsp\WEB_002dINF\views\contact_jsp.java] The method getJspApplicationContext(ServletContext) is undefined for the type JspFactory An error occurred at line: [73] in the generated java file: [C:\spring-tool-suite-3.6.3.RELEASE
via Stack Overflow by user2554799
, 1 year ago
/listUrls.jsp Url cannot be resolved to a type 25: for(int id : shortnerDatabase.keySet()) 26: { 27: String idString = Integer.toString(id); 28: Url url = shortnerDatabase.get(id
org.apache.jasper.JasperException: No se puede compilar la clase para JSP: 
Ha tenido lugar un error en la línea: 27 en el archivo jsp: /naviox/selectModules.jsp
The type java.lang.CharSequence cannot be resolved. It is indirectly referenced from required .class files
24: 	String selected = module.getName().equals(modules.getCurrent())?"selected":""; 
25: 	String label = module.getLabel(request.getLocale()); 
26: 	String description = module.getDescription(request.getLocale()); 
27: 	if (searchWord != null && !label.toLowerCase().contains(searchWord) && !description.toLowerCase().toLowerCase().contains(searchWord)) continue;
28: %>	
29: 	<a  href="/<%=module.getMetaApplication().getName()%>/m/<%=module.getName()%>">
30: 	<div id="<%=module.getName()%>_module" class="module-row <%=selected%>" onclick="$('#<%=module.getName()%>_loading').show()">	
Ha tenido lugar un error en la línea: 27 en el archivo jsp: /naviox/selectModules.jsp
The method contains(CharSequence) in the type String is not applicable for the arguments (String)
24: 	String selected = module.getName().equals(modules.getCurrent())?"selected":""; 
25: 	String label = module.getLabel(request.getLocale()); 
26: 	String description = module.getDescription(request.getLocale()); 
27: 	if (searchWord != null && !label.toLowerCase().contains(searchWord) && !description.toLowerCase().toLowerCase().contains(searchWord)) continue;
28: %>	
29: 	<a  href="/<%=module.getMetaApplication().getName()%>/m/<%=module.getName()%>">
30: 	<div id="<%=module.getName()%>_module" class="module-row <%=selected%>" onclick="$('#<%=module.getName()%>_loading').show()">	
Ha tenido lugar un error en la línea: 27 en el archivo jsp: /naviox/selectModules.jsp
The method contains(CharSequence) in the type String is not applicable for the arguments (String)
24: 	String selected = module.getName().equals(modules.getCurrent())?"selected":""; 
25: 	String label = module.getLabel(request.getLocale()); 
26: 	String description = module.getDescription(request.getLocale()); 
27: 	if (searchWord != null && !label.toLowerCase().contains(searchWord) && !description.toLowerCase().toLowerCase().contains(searchWord)) continue;
28: %>	
29: 	<a  href="/<%=module.getMetaApplication().getName()%>/m/<%=module.getName()%>">
30: 	<div id="<%=module.getName()%>_module" class="module-row <%=selected%>" onclick="$('#<%=module.getName()%>_loading').show()">	
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:439)	at org.apache.jasper.compiler.Compiler.compile(Compiler.java:334)	at org.apache.jasper.compiler.Compiler.compile(Compiler.java:312)	at org.apache.jasper.compiler.Compiler.compile(Compiler.java:299)	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.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:646)	at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:551)	at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:488)	at org.apache.jasper.runtime.JspRuntimeLibrary.include(JspRuntimeLibrary.java:968)	at org.apache.jsp.naviox.modulesList_jsp._jspService(modulesList_jsp.java:96)	at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)	at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)	at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:374)	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.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:646)	at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:551)	at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:488)	at org.apache.jasper.runtime.JspRuntimeLibrary.include(JspRuntimeLibrary.java:968)	at org.apache.jsp.naviox.modulesMenu_jsp._jspService(modulesMenu_jsp.java:117)	at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)	at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)	at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:374)	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.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:646)	at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:551)	at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:488)	at org.apache.jasper.runtime.JspRuntimeLibrary.include(JspRuntimeLibrary.java:968)	at org.apache.jsp.naviox.index_jsp._jspService(index_jsp.java:156)	at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)	at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)	at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:374)	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.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:646)	at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:436)	at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:374)	at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:302)	at com.openxava.naviox.web.NaviOXServlet.doGet(NaviOXServlet.java:27)	at javax.servlet.http.HttpServlet.service(HttpServlet.java:617)	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.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:646)	at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:436)	at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:374)	at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:302)	at com.openxava.naviox.web.NaviOXFilter.doFilter(NaviOXFilter.java:65)	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:293)	at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:849)	at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)	at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:454)	at java.lang.Thread.run(Unknown Source)