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:

Solutions on the web2624

  • via openxava by jordi78
    , 11 months 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 openxava by juanjovega
    , 11 months ago
    No se puede compilar la clase para JSP: Ha tenido lugar un error en la línea: 26 en el archivo jsp: /xava/editors/descriptionValidValuesEditor.jsp org.openxava.util.Objects cannot be resolved to a type 23: value = ((Number) ovalue).intValue
  • via GitHub by i5513
    , 1 year ago
    No se puede compilar la clase para JSP: Ha tenido lugar un error en la línea: [1] en el fichero java generado: [/usr/share/tomcat/work/Catalina/localhost/GrokConstructor/org/apache/jsp/jsp/frame_jsp.java] The type java.util.Map$Entry cannot be resolved. It is indirectly referenced from required .class files Stacktrace:
  • Stack trace

    • 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:
    • aviox/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:
    • aviox/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:
    • aviox/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)

    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 months ago
    6 times, 6 months ago
    Unknown user
    Once, 11 months ago
    Unknown user
    Once, 1 year ago
    Unknown user
    Once, 1 year ago
    73 more bugmates