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:

com.br | 9 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Criando um CRUD RESTful com Jersey, JPA e MySQL

    com.br | 9 months ago
    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

    JSP code is have problem

    Coderanch | 4 years ago | Milind Wakale
    org.apache.jasper.JasperException: Unable to compile class for JSP: An error occurred at line: 15 in the generated java file The type index_jsp must implement the inherited abstract method JspSourceDependent.getDependants() An error occurred at line: 21 in the generated java file The type Map is not generic; it cannot be parameterized with arguments <String, Long> An error occurred at line: 24 in the generated java file _jspx_dependants cannot be resolved to a variable An error occurred at line: 24 in the generated java file The type HashMap is not generic; it cannot be parameterized with arguments <String, Long> An error occurred at line: 25 in the generated java file _jspx_dependants cannot be resolved An error occurred at line: 25 in the generated java file The method valueOf(String) in the type Long is not applicable for the arguments (long) An error occurred at line: 31 in the generated java file The type Map is not generic; it cannot be parameterized with arguments <String, Long> An error occurred at line: 32 in the generated java file _jspx_dependants cannot be resolved to a variable Stacktrace:
  3. 0

    org.apache.jasper.JasperException: Unable to compile class for JSP in my program

    Stack Overflow | 4 years ago | Ameer
    org.apache.jasper.JasperException: Unable to compile class for JSP: An error occurred at line: 31 in the generated java file The method getJspApplicationContext(ServletContext) is undefined for the type JspFactory AStacktrace: at org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:102)
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    org.apache.jasper.JasperException: Unable to compile class for JSP, tried everything but not able to work around

    Stack Overflow | 3 years ago | neel4soft
    org.apache.jasper.JasperException: Unable to compile class for JSP: An error occurred at line: [31] in the generated java file: [C:\Users\nagesh.chauhan\workspace\.metadata\.plugins\org.eclipse.wst.server.core\tmp0\work\Catalina\localhost\AdminPanel\org\apache\jsp\index_jsp.java] The method getJspApplicationContext(ServletContext) is undefined for the type JspFactory Stacktrace:
  6. 0

    JSP Javabean generating Error

    Stack Overflow | 4 years ago | Java Beginner
    org.apache.jasper.JasperException: Cannot find any information on property 'Name' in a bean of type 'Model.SampleServ'

  1. treefolk 6 times, last 3 months ago
  2. Andreas Häber 1 times, last 6 months ago
  3. Justin 2 times, last 9 months ago
  4. abrazeneb 4 times, last 10 months ago
  5. andyglick 12 times, last 7 months ago
1 more registered users
72 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:469)
    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
    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:222)
    4. org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123)
    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:99)
    8. org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:929)
    9. org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
    10. org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:407)
    10 frames
  5. Grizzly HTTP
    JIoEndpoint$SocketProcessor.run
    1. org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1002)
    2. org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:585)
    3. org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:310)
    3 frames
  6. 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