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:

openxava | jordi78 | 2 years ago
  1. 0

    Error al ejecutar la aplicación

    openxava | 2 years ago | jordi78
    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:
  2. 0

    Adding/Editing Events is broken

    GitHub | 3 years ago | wezell
    org.apache.jasper.JasperException: Unable to compile class for JSP: An error occurred at line: 333 in the generated java file The code of method _jspService(HttpServletRequest, HttpServletResponse) is exceeding the 65535 bytes limit Stacktrace:
  3. 0

    How to enable Localization inside HTML tag Attribute?

    Stack Overflow | 4 years ago | Shiv Kumar Ganesh
    org.apache.jasper.JasperException: /WEB-INF/jsp/resource/GeneralDetails.jsp(72,23) quote symbol expected
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    JSP Error: According to TLD, tag form:input must be empty, but is not

    Stack Overflow | 3 years ago | Aleksandrs Rudzitis
    org.apache.jasper.JasperException: /WEB-INF/pages/pc_add.jsp (line: 19, column: 24) According to TLD, tag form:input must be empty, but is not
  6. 0

    Unable to compile jsp

    Stack Overflow | 3 years ago | sweetu514
    org.apache.jasper.JasperException: Unable to compile class for JSP: An error occurred at line: 8 in the jsp file: /jsp/org_1/Alpha.jsp Duplicate local variable applicationURL 5: &lt;%@ page import="java.util.*" %&gt; 6: &lt;%@ page import="org.apache.log4j.Logger" %&gt; 7: &lt;% 8: String applicationURL = (String) session.getAttribute("appURL"); 9: String cntxtName = ""; 10: 11: if(null != applicationURL) An error occurred at line: 9 in the jsp file: /jsp/org_1/Alpha.jsp Duplicate local variable cntxtName 6: &lt;%@ page import="org.apache.log4j.Logger" %&gt; 7: &lt;% 8: String applicationURL = (String) session.getAttribute("appURL"); 9: String cntxtName = ""; 10: 11: if(null != applicationURL) 12: { Stacktrace:

  1. Andreas Häber 1 times, last 4 weeks ago
  2. Justin 2 times, last 4 months ago
  3. abrazeneb 4 times, last 5 months ago
  4. andyglick 12 times, last 3 months ago
  5. Plato2000 6 times, last 7 months ago
71 unregistered visitors
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. 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()
  2. GWT dev
    JspServlet.service
    1. org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:92)
    2. org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:330)
    3. org.apache.jasper.compiler.JDTCompiler.generateClass(JDTCompiler.java:439)
    4. org.apache.jasper.compiler.Compiler.compile(Compiler.java:334)
    5. org.apache.jasper.compiler.Compiler.compile(Compiler.java:312)
    6. org.apache.jasper.compiler.Compiler.compile(Compiler.java:299)
    7. org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:586)
    8. org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:317)
    9. org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:342)
    10. org.apache.jasper.servlet.JspServlet.service(JspServlet.java:267)
    10 frames
  3. JavaServlet
    HttpServlet.service
    1. javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
    1 frame
  4. Glassfish Core
    ApplicationDispatcher.include
    1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
    2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
    3. org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:646)
    4. org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:551)
    5. org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:488)
    5 frames
  5. GWT dev
    JspRuntimeLibrary.include
    1. org.apache.jasper.runtime.JspRuntimeLibrary.include(JspRuntimeLibrary.java:968)
    1 frame
  6. org.apache.jsp
    modulesList_jsp._jspService
    1. org.apache.jsp.naviox.modulesList_jsp._jspService(modulesList_jsp.java:96)
    1 frame
  7. GWT dev
    HttpJspBase.service
    1. org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
    1 frame
  8. JavaServlet
    HttpServlet.service
    1. javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
    1 frame
  9. GWT dev
    JspServlet.service
    1. org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:374)
    2. org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:342)
    3. org.apache.jasper.servlet.JspServlet.service(JspServlet.java:267)
    3 frames
  10. JavaServlet
    HttpServlet.service
    1. javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
    1 frame
  11. Glassfish Core
    ApplicationDispatcher.include
    1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
    2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
    3. org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:646)
    4. org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:551)
    5. org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:488)
    5 frames
  12. GWT dev
    JspRuntimeLibrary.include
    1. org.apache.jasper.runtime.JspRuntimeLibrary.include(JspRuntimeLibrary.java:968)
    1 frame
  13. org.apache.jsp
    modulesMenu_jsp._jspService
    1. org.apache.jsp.naviox.modulesMenu_jsp._jspService(modulesMenu_jsp.java:117)
    1 frame
  14. GWT dev
    HttpJspBase.service
    1. org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
    1 frame
  15. JavaServlet
    HttpServlet.service
    1. javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
    1 frame
  16. GWT dev
    JspServlet.service
    1. org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:374)
    2. org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:342)
    3. org.apache.jasper.servlet.JspServlet.service(JspServlet.java:267)
    3 frames
  17. JavaServlet
    HttpServlet.service
    1. javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
    1 frame
  18. Glassfish Core
    ApplicationDispatcher.include
    1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
    2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
    3. org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:646)
    4. org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:551)
    5. org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:488)
    5 frames
  19. GWT dev
    JspRuntimeLibrary.include
    1. org.apache.jasper.runtime.JspRuntimeLibrary.include(JspRuntimeLibrary.java:968)
    1 frame
  20. org.apache.jsp
    index_jsp._jspService
    1. org.apache.jsp.naviox.index_jsp._jspService(index_jsp.java:156)
    1 frame
  21. GWT dev
    HttpJspBase.service
    1. org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
    1 frame
  22. JavaServlet
    HttpServlet.service
    1. javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
    1 frame
  23. GWT dev
    JspServlet.service
    1. org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:374)
    2. org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:342)
    3. org.apache.jasper.servlet.JspServlet.service(JspServlet.java:267)
    3 frames
  24. JavaServlet
    HttpServlet.service
    1. javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
    1 frame
  25. Glassfish Core
    ApplicationDispatcher.forward
    1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
    2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
    3. org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:646)
    4. org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:436)
    5. org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:374)
    6. org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:302)
    6 frames
  26. com.openxava.naviox
    NaviOXServlet.doGet
    1. com.openxava.naviox.web.NaviOXServlet.doGet(NaviOXServlet.java:27)
    1 frame
  27. JavaServlet
    HttpServlet.service
    1. javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
    2. javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
    2 frames
  28. Glassfish Core
    ApplicationDispatcher.forward
    1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
    2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
    3. org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:646)
    4. org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:436)
    5. org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:374)
    6. org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:302)
    6 frames
  29. com.openxava.naviox
    NaviOXFilter.doFilter
    1. com.openxava.naviox.web.NaviOXFilter.doFilter(NaviOXFilter.java:65)
    1 frame
  30. Glassfish Core
    CoyoteAdapter.service
    1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
    2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
    3. org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
    4. org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
    5. org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
    6. org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
    7. org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
    8. org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293)
    8 frames
  31. Grizzly HTTP
    JIoEndpoint$Worker.run
    1. org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:849)
    2. org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
    3. org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:454)
    3 frames
  32. Java RT
    Thread.run
    1. java.lang.Thread.run(Unknown Source)
    1 frame