org.apache.jasper.JasperException: Unable to compile class for JSP An error occurred at line: -1 in the jsp file: null Generated servlet error: \[javac\] Compiling 1 source file

ejbca | *anonymous | 1 decade ago
  1. 0

    Error in generating certificate for browser

    ejbca | 1 decade ago | *anonymous
    org.apache.jasper.JasperException: Unable to compile class for JSP An error occurred at line: -1 in the jsp file: null Generated servlet error: \[javac\] Compiling 1 source file
  2. 0

    How to get session variable in ajax request page?

    Stack Overflow | 4 years ago | Cicil Thomas
    org.apache.jasper.JasperException: Unable to compile class for JSP An error occurred at line: 2 in the jsp file: /profiles/Home/ajaxAnsRun.jsp Generated servlet error: [javac] Compiling 1 source file C:\Program Files\Apache Group\Tomcat 4.1\work\Standalone\localhost\Indus\profiles\Home\ajaxAnsRun_jsp.java:66: cannot find symbol symbol : variable stdId location: class org.apache.jsp.ajaxAnsRun_jsp stdId=String.valueOf(session.getAttribute("stdId")); ^ An error occurred at line: 2 in the jsp file: /profiles/Home/ajaxAnsRun.jsp Generated servlet error: C:\Program Files\Apache Group\Tomcat 4.1\work\Standalone\localhost\Indus\profiles\Home\ajaxAnsRun_jsp.java:70: cannot find symbol symbol : variable stdId location: class org.apache.jsp.ajaxAnsRun_jsp result= obj.hideAnsNotify(notId,stdId); ^ 2 errors
  3. 0

    Unable to compile class for JSP

    theserverside.com | 8 months ago
    org.apache.jasper.JasperException: Unable to compile class for JSP
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Newbie JDBC + JSP

    Google Groups | 1 decade ago | Alex Schatten
    org.apache.jasper.JasperException
  6. 0

    JDBC & MySQL connection

    Google Groups | 1 decade ago | Ho Lun
    org.apache.jasper.JasperException: Server configuration denies access to data source

  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 jsp file: null Generated servlet error: \[javac\] Compiling 1 source file

    at org.apache.jasper.compiler.DefaultErrorHandler.javacError()
  2. GWT dev
    JspServlet.service
    1. org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:130)
    2. org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:293)
    3. org.apache.jasper.compiler.Compiler.generateClass(Compiler.java:353)
    4. org.apache.jasper.compiler.Compiler.compile(Compiler.java:370)
    5. org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:473)
    6. org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:190)
    7. org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295)
    8. org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
    8 frames
  3. JavaServlet
    HttpServlet.service
    1. javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    1 frame
  4. Glassfish Core
    ContainerBase.invoke
    1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247)
    2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)
    3. org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:256)
    4. org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
    5. org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
    6. org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
    7. org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
    8. org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
    9. org.apache.catalina.valves.CertificatesValve.invoke(CertificatesValve.java:246)
    10. org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
    11. org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
    12. org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
    13. org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2415)
    14. org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180)
    15. org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
    16. org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:171)
    17. org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
    18. org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:172)
    19. org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
    20. org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:509)
    21. org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
    22. org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
    23. org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
    24. org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:174)
    25. org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
    26. org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
    27. org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
    27 frames
  5. org.apache.coyote
    CoyoteAdapter.service
    1. org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:223)
    1 frame
  6. Grizzly HTTP
    TcpWorkerThread.runIt
    1. org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:594)
    2. org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:392)
    3. org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:565)
    3 frames
  7. Tomcat Util
    ThreadPool$ControlRunnable.run
    1. org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:619)
    1 frame
  8. Java RT
    Thread.run
    1. java.lang.Thread.run(Unknown Source)
    1 frame