org.apache.jasper.JasperException: Unable to compile class for JSP An error occurred at line: 179 in the jsp file: /content/articles.jsp Generated servlet error: The type Comparable is not generic; it cannot be parameterized with arguments <? super T>

Oracle Community | 807581 | 1 decade ago
  1. 0

    Help for Apache-Tomcat - JSP error

    Oracle Community | 1 decade ago | 807581
    org.apache.jasper.JasperException: Unable to compile class for JSP An error occurred at line: 179 in the jsp file: /content/articles.jsp Generated servlet error: The type Comparable is not generic; it cannot be parameterized with arguments <? super T>
  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. treefolk 1 times, last 2 weeks ago
  2. Andreas Häber 1 times, last 1 month ago
  3. Justin 2 times, last 4 months ago
  4. abrazeneb 4 times, last 5 months ago
  5. andyglick 12 times, last 3 months ago
1 more registered users
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

    Unable to compile class for JSP An error occurred at line: 179 in the jsp file: /content/articles.jsp Generated servlet error: The type Comparable is not generic; it cannot be parameterized with arguments <? super T>

    at org.apache.jasper.compiler.DefaultErrorHandler.javacError()
  2. GWT dev
    JspServlet.service
    1. org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:84)
    2. org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:328)
    3. org.apache.jasper.compiler.JDTCompiler.generateClass(JDTCompiler.java:414)
    4. org.apache.jasper.compiler.Compiler.compile(Compiler.java:297)
    5. org.apache.jasper.compiler.Compiler.compile(Compiler.java:276)
    6. org.apache.jasper.compiler.Compiler.compile(Compiler.java:264)
    7. org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:563)
    8. org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:305)
    9. org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
    10. org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
    10 frames
  3. JavaServlet
    HttpServlet.service
    1. javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
    1 frame
  4. Glassfish Core
    ApplicationDispatcher.include
    1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
    2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
    3. org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:672)
    4. org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:574)
    5. org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:499)
    5 frames
  5. GWT dev
    JspRuntimeLibrary.include
    1. org.apache.jasper.runtime.JspRuntimeLibrary.include(JspRuntimeLibrary.java:966)
    1 frame
  6. org.apache.jsp
    splash_jsp._jspService
    1. org.apache.jsp.splash_jsp._jspService(splash_jsp.java:119)
    1 frame
  7. GWT dev
    HttpJspBase.service
    1. org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
    1 frame
  8. JavaServlet
    HttpServlet.service
    1. javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
    1 frame
  9. GWT dev
    JspServlet.service
    1. org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:334)
    2. org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
    3. org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
    3 frames
  10. JavaServlet
    HttpServlet.service
    1. javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
    1 frame
  11. Glassfish Core
    ApplicationDispatcher.include
    1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
    2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
    3. org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:672)
    4. org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:574)
    5. org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:499)
    5 frames
  12. GWT dev
    JspRuntimeLibrary.include
    1. org.apache.jasper.runtime.JspRuntimeLibrary.include(JspRuntimeLibrary.java:966)
    1 frame
  13. org.apache.jsp
    index_jsp._jspService
    1. org.apache.jsp.index_jsp._jspService(index_jsp.java:348)
    1 frame
  14. GWT dev
    HttpJspBase.service
    1. org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
    1 frame
  15. JavaServlet
    HttpServlet.service
    1. javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
    1 frame
  16. GWT dev
    JspServletWrapper.service
    1. org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:334)
    1 frame