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:

Google Groups | Martijn van der Vorst | 5 months ago
  1. 0

    Minimum and maximum supported Tomcat for Hippo 10

    Google Groups | 5 months ago | Martijn van der Vorst
    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

    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)
  3. 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:
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 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'
  6. 0

    Raspberry Pi • View topic - using Pi4J inside JSP fails

    raspberrypi.org | 2 years ago
    org.apache.jasper.JasperException: Unable to compile class for JSP: An error occurred at line: 16 in the jsp file: /JavaServerPages/Monitor.jsp GpioController cannot be resolved to a type 13:     14: <%! int i = 5;%> 15: 16: <%! GpioController gpio = GpioFactory.getInstance();%> 17: <%! GpioPinDigitalOutput pin01 = gpio.provisionDigitalOutputPin(RaspiPin.GPIO_00, "Output01", PinState.LOW);%> 18: 19: An error occurred at line: 16 in the jsp file: /JavaServerPages/Monitor.jsp GpioFactory cannot be resolved 13:     14: <%! int i = 5;%> 15: 16: <%! GpioController gpio = GpioFactory.getInstance();%> 17: <%! GpioPinDigitalOutput pin01 = gpio.provisionDigitalOutputPin(RaspiPin.GPIO_00, "Output01", PinState.LOW);%> 18: 19: An error occurred at line: 17 in the jsp file: /JavaServerPages/Monitor.jsp GpioPinDigitalOutput cannot be resolved to a type 14: <%! int i = 5;%> 15: 16: <%! GpioController gpio = GpioFactory.getInstance();%> 17: <%! GpioPinDigitalOutput pin01 = gpio.provisionDigitalOutputPin(RaspiPin.GPIO_00, "Output01", PinState.LOW);%> 18: 19: 20: <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> An error occurred at line: 17 in the jsp file: /JavaServerPages/Monitor.jsp gpio cannot be resolved 14: <%! int i = 5;%> 15: 16: <%! GpioController gpio = GpioFactory.getInstance();%> 17: <%! GpioPinDigitalOutput pin01 = gpio.provisionDigitalOutputPin(RaspiPin.GPIO_00, "Output01", PinState.LOW);%> 18: 19: 20: <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> An error occurred at line: 17 in the jsp file: /JavaServerPages/Monitor.jsp RaspiPin.GPIO_00 cannot be resolved to a type 14: <%! int i = 5;%> 15: 16: <%! GpioController gpio = GpioFactory.getInstance();%> 17: <%! GpioPinDigitalOutput pin01 = gpio.provisionDigitalOutputPin(RaspiPin.GPIO_00, "Output01", PinState.LOW);%> 18: 19: 20: <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> An error occurred at line: 17 in the jsp file: /JavaServerPages/Monitor.jsp PinState.LOW cannot be resolved to a type 14: <%! int i = 5;%> 15: 16: <%! GpioController gpio = GpioFactory.getInstance();%> 17: <%! GpioPinDigitalOutput pin01 = gpio.provisionDigitalOutputPin(RaspiPin.GPIO_00, "Output01", PinState.LOW);%> 18: 19: 20: <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> Stacktrace:

  1. treefolk 1 times, last 1 week 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: 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:728)
    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.ApplicationDispatcher.invoke(ApplicationDispatcher.java:749)
    4. org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:489)
    5. org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:412)
    6. org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:339)
    7. org.apache.catalina.core.StandardHostValve.custom(StandardHostValve.java:467)
    8. org.apache.catalina.core.StandardHostValve.status(StandardHostValve.java:338)
    9. org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:203)
    10. org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:99)
    11. org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:931)
    12. org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
    13. org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:407)
    13 frames
  5. Grizzly HTTP
    JIoEndpoint$SocketProcessor.run
    1. org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1004)
    2. org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:589)
    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