org.apache.jasper.JasperException: 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:

Stack Overflow | user6389648 | 4 months ago
  1. 0

    Unable to get ExpectedOutput in SpringDaoMvc Application?

    Stack Overflow | 4 months ago | user6389648
    org.apache.jasper.JasperException: 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:
  2. 0

    [SOLVED] Help with 'Unable to compile class for JSP'

    linuxquestions.org | 1 year ago
    org.apache.jasper.JasperException: Unable to compile class for JSP: Stacktrace:
  3. 0

    Calling a java file in a JSP file

    Coderanch | 5 years ago | Gaurav Wadhwani
    org.apache.jasper.JasperException: Unable to compile class for JSP: An error occurred at line: 18 in the jsp file: /welcome.jsp SHA1 cannot be resolved to a type 15: <h1> Hi, :)</h1> 16: 17: <% 18: SHA1 sh = new SHA1(); 19: String SID = session.getId(); 20: String HMAC_SID = sh.calcSHA1(SID); 21: Stacktrace:
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    RequestDispatcher unable to fetch me to JSP page

    Stack Overflow | 2 years ago | user3900009
    org.apache.jasper.JasperException: PWC6033: Error in Javac compilation for JSP PWC6199: Generated servlet error: source value 1.5 is obsolete and will be removed in a future release PWC6199: Generated servlet error: target value 1.5 is obsolete and will be removed in a future release PWC6199: Generated servlet error: To suppress warnings about obsolete options, use -Xlint:-options. PWC6197: An error occurred at line: 20 in the jsp file: /MemberAccess/PurchaseCreateM.jsp PWC6199: Generated servlet error: incompatible types: java.lang.Object cannot be converted to double PWC6199: Generated servlet error: /PurchaseCreateM_jsp.java uses unchecked or unsafe operations. PWC6199: Generated servlet error: Recompile with -Xlint:unchecked for details.

  1. Justin 2 times, last 4 months ago
  2. Andreas Häber 1 times, last 4 weeks 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

    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:

    at org.apache.jasper.compiler.DefaultErrorHandler.javacError()
  2. GWT dev
    JspServlet.service
    1. org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:102)
    2. org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:331)
    3. org.apache.jasper.compiler.JDTCompiler.generateClass(JDTCompiler.java:457)
    4. org.apache.jasper.compiler.Compiler.compile(Compiler.java:378)
    5. org.apache.jasper.compiler.Compiler.compile(Compiler.java:353)
    6. org.apache.jasper.compiler.Compiler.compile(Compiler.java:340)
    7. org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:646)
    8. org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:357)
    9. org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:390)
    10. org.apache.jasper.servlet.JspServlet.service(JspServlet.java:334)
    10 frames
  3. JavaServlet
    HttpServlet.service
    1. javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
    1 frame
  4. Glassfish Core
    ApplicationDispatcher.forward
    1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
    2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
    3. org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:684)
    4. org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:471)
    5. org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:402)
    6. org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:329)
    6 frames
  5. Unknown
    MainServlet.doGet
    1. MainServlet.doGet(MainServlet.java:43)
    1 frame
  6. JavaServlet
    HttpServlet.service
    1. javax.servlet.http.HttpServlet.service(HttpServlet.java:621)
    2. javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
    2 frames
  7. Glassfish Core
    CoyoteAdapter.service
    1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
    2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
    3. org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:224)
    4. org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:169)
    5. org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472)
    6. org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:168)
    7. org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:98)
    8. org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:927)
    9. org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
    10. org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:407)
    10 frames
  8. Grizzly HTTP
    JIoEndpoint$SocketProcessor.run
    1. org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:987)
    2. org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:579)
    3. org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:309)
    3 frames
  9. Java RT
    Thread.run
    1. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
    2. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
    3. java.lang.Thread.run(Thread.java:745)
    3 frames