org.apache.jasper.JasperException: Unable to compile class for JSPNote: sun.tools.javac.Main has been deprecated. An error occurred at line: 3 in the jsp file: /Initial/insert_join.jsp Generated servlet error: C:\Program Files\Apache Tomcat 4.0\work\localhost\_\Initial\insert_0005fjoin$jsp.java:60: Class org.apache.jsp.dbAccess not found. dbAccess db2 = null; ^ An error occurred at line: 3 in the jsp file: /Initial/insert_join.jsp Generated servlet error: C:\Program Files\Apache Tomcat 4.0\work\localhost\_\Initial\insert_0005fjoin$jsp.java:63: Class org.apache.jsp.dbAccess not found. db2= (dbAccess) ^ An error occurred at line: 3 in the jsp file: /Initial/insert_join.jsp Generated servlet error: C:\Program Files\Apache Tomcat 4.0\work\localhost\_\Initial\insert_0005fjoin$jsp.java:68: Class org.apache.jsp.dbAccess not found. db2 = (dbAccess) java.beans.Beans.instantiate(this.getClass().getClassLoader(), "dbAccess"); ^ 3 errors, 1 warning

Oracle Community | 807581 | 1 decade ago
  1. 0

    use bean in JSP

    Oracle Community | 1 decade ago | 807581
    org.apache.jasper.JasperException: Unable to compile class for JSPNote: sun.tools.javac.Main has been deprecated. An error occurred at line: 3 in the jsp file: /Initial/insert_join.jsp Generated servlet error: C:\Program Files\Apache Tomcat 4.0\work\localhost\_\Initial\insert_0005fjoin$jsp.java:60: Class org.apache.jsp.dbAccess not found. dbAccess db2 = null; ^ An error occurred at line: 3 in the jsp file: /Initial/insert_join.jsp Generated servlet error: C:\Program Files\Apache Tomcat 4.0\work\localhost\_\Initial\insert_0005fjoin$jsp.java:63: Class org.apache.jsp.dbAccess not found. db2= (dbAccess) ^ An error occurred at line: 3 in the jsp file: /Initial/insert_join.jsp Generated servlet error: C:\Program Files\Apache Tomcat 4.0\work\localhost\_\Initial\insert_0005fjoin$jsp.java:68: Class org.apache.jsp.dbAccess not found. db2 = (dbAccess) java.beans.Beans.instantiate(this.getClass().getClassLoader(), "dbAccess"); ^ 3 errors, 1 warning
  2. 0

    » Tutorial: How to set up Tomcat 6 to work with JSTL 1.2 – It’s Only Software

    mularien.com | 1 year ago
    org.apache.jasper.JasperException: This absolute uri ( ) cannot be resolved in either web.xml or the jar files deployed with this application
  3. 0

    jsp can not find date

    Google Groups | 1 decade ago | f
    org.apache.jasper.JasperException: Unable to compile class for JSPNote: sun.tools.javac.Main has been deprecated. An error occurred at line: 4 in the jsp file: /test/test.jsp Generated servlet error: C:\JBuilder7\jakarta-tomcat-4.0.3\work\localhost\myjsp\test\test$jsp.java:63: Class java.util.Data not found. out.print(new java.util.Data()); ^ 1 error, 1 warning
  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

    Google Groups | 1 decade ago | shaab mohagir
    org.apache.jasper.JasperException: Unable to compile class for JSP An error occurred at line: 1 in the jsp file: /jsp_book/Session12/confirm.jsp Generated servlet error: /opt/jakarta/work/localhost/_/jsp_book/Session12/confirm$jsp.java:56: Class org.apache.jsp.Fruit not found. Fruit orderedFruit = null; ^ An error occurred at line: 1 in the jsp file: /jsp_book/Session12/confirm.jsp Generated servlet error: /opt/jakarta/work/localhost/_/jsp_book/Session12/confirm$jsp.java:59: Class org.apache.jsp.Fruit not found. orderedFruit= (Fruit) ^ An error occurred at line: 1 in the jsp file: /jsp_book/Session12/confirm.jsp Generated servlet error: /opt/jakarta/work/localhost/_/jsp_book/Session12/confirm$jsp.java:64: Class org.apache.jsp.Fruit not found. orderedFruit = (Fruit) java.beans.Beans.instantiate(this.getClass().getClassLoader(), "Fruit"); ^ An error occurred at line: 15 in the jsp file: /jsp_book/Session12/confirm.jsp Generated servlet error: /opt/jakarta/work/localhost/_/jsp_book/Session12/confirm$jsp.java:111: Class org.apache.jsp.Fruit not found. out.print(JspRuntimeLibrary.toString((((Fruit)pageContext.findAttribute("orderedFruit")).getFruitName()))); ^ An error occurred at line: 16 in the jsp file: /jsp_book/Session12/confirm.jsp Generated servlet error: /opt/jakarta/work/localhost/_/jsp_book/Session12/confirm$jsp.java:118: Class org.apache.jsp.Fruit not found. out.print(JspRuntimeLibrary.toString((((Fruit)pageContext.findAttribute("orderedFruit")).getColor()))); ^ An error occurred at line: 17 in the jsp file: /jsp_book/Session12/confirm.jsp Generated servlet error: /opt/jakarta/work/localhost/_/jsp_book/Session12/confirm$jsp.java:125: Class org.apache.jsp.Fruit not found. out.print(JspRuntimeLibrary.toString((((Fruit)pageContext.findAttribute("orderedFruit")).getPrice()))); ^ An error occurred at line: 18 in the jsp file: /jsp_book/Session12/confirm.jsp Generated servlet error: /opt/jakarta/work/localhost/_/jsp_book/Session12/confirm$jsp.java:132: Class org.apache.jsp.Fruit not found. out.print(JspRuntimeLibrary.toString((((Fruit)pageContext.findAttribute("orderedFruit")).getQuantity()))); ^ 7 errors
  6. 0

    jboss 3.0/mysql exception problem

    Google Groups | 1 decade ago | Adam Smith
    org.apache.jasper.JasperException: Unable to compile class for JSP

  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 JSPNote: sun.tools.javac.Main has been deprecated. An error occurred at line: 3 in the jsp file: /Initial/insert_join.jsp Generated servlet error: C:\Program Files\Apache Tomcat 4.0\work\localhost\_\Initial\insert_0005fjoin$jsp.java:60: Class org.apache.jsp.dbAccess not found. dbAccess db2 = null; ^ An error occurred at line: 3 in the jsp file: /Initial/insert_join.jsp Generated servlet error: C:\Program Files\Apache Tomcat 4.0\work\localhost\_\Initial\insert_0005fjoin$jsp.java:63: Class org.apache.jsp.dbAccess not found. db2= (dbAccess) ^ An error occurred at line: 3 in the jsp file: /Initial/insert_join.jsp Generated servlet error: C:\Program Files\Apache Tomcat 4.0\work\localhost\_\Initial\insert_0005fjoin$jsp.java:68: Class org.apache.jsp.dbAccess not found. db2 = (dbAccess) java.beans.Beans.instantiate(this.getClass().getClassLoader(), "dbAccess"); ^ 3 errors, 1 warning

    at org.apache.jasper.compiler.Compiler.compile()
  2. GWT dev
    JspServlet.service
    1. org.apache.jasper.compiler.Compiler.compile(Compiler.java:285)
    2. org.apache.jasper.servlet.JspServlet.loadJSP(JspServlet.java:552)
    3. org.apache.jasper.servlet.JspServlet$JspServletWrapper.loadIfNecessary(JspServlet.java:177)
    4. org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServlet.java:189)
    5. org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:382)
    6. org.apache.jasper.servlet.JspServlet.service(JspServlet.java:474)
    6 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:243)
    4. org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
    5. org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
    6. org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
    7. org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:190)
    8. org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
    9. org.apache.catalina.valves.CertificatesValve.invoke(CertificatesValve.java:246)
    10. org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
    11. org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
    12. org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
    13. org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2343)
    14. org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180)
    15. org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
    16. org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:170)
    17. org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
    18. org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:170)
    19. org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
    20. org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:468)
    21. org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
    22. org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
    23. org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
    24. org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:174)
    25. org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
    26. org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
    27. org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
    27 frames
  5. org.apache.catalina
    HttpProcessor.run
    1. org.apache.catalina.connector.http.HttpProcessor.process(HttpProcessor.java:1012)
    2. org.apache.catalina.connector.http.HttpProcessor.run(HttpProcessor.java:1107)
    2 frames
  6. Java RT
    Thread.run
    1. java.lang.Thread.run(Unknown Source)
    1 frame