org.apache.jasper.JasperException: Unable to compile class for JSPNote: sun.tools.javac.Main has been deprecated. An error occurred at line: 1 in the jsp file: /beans.jsp Generated servlet error: C:\Program Files\Apache Tomcat 4.0\work\Standalone\localhost\_\beans$jsp.java:56: Class org.apache.jsp.LanguageBean not found. LanguageBean languageBean = null; ^ An error occurred at line: 1 in the jsp file: /beans.jsp Generated servlet error: C:\Program Files\Apache Tomcat 4.0\work\Standalone\localhost\_\beans$jsp.java:59: Class org.apache.jsp.LanguageBean not found. languageBean= (LanguageBean) ^ An error occurred at line: 1 in the jsp file: /beans.jsp Generated servlet error: C:\Program Files\Apache Tomcat 4.0\work\Standalone\localhost\_\beans$jsp.java:64: Class org.apache.jsp.LanguageBean not found. languageBean = (LanguageBean) java.beans.Beans.instantiate(this.getClass().getClassLoader(), "LanguageBean"); ^ An error occurred at line: 12 in the jsp file: /beans.jsp Generated servlet error: C:\Program Files\Apache Tomcat 4.0\work\Standalone\localhost\_\beans$jsp.java:94: Class org.apache.jsp.LanguageBean not found. out.print(JspRuntimeLibrary.toString((((LanguageBean)pageContext.findAttribute("languageBean")).getName()))); ^ An error occurred at line: 15 in the jsp file: /beans.jsp Generated servlet error: C:\Program Files\Apache Tomcat 4.0\work\Standalone\localhost\_\beans$jsp.java:101: Class org.apache.jsp.LanguageBean not found. out.print(JspRuntimeLibrary.toString((((LanguageBean)pageContext.findAttribute("languageBean")).getLanguage()))); ^ An error occurred at line: 18 in the jsp file: /beans.jsp Generated servlet error: C:\Program Files\Apache Tomcat 4.0\work\Standalone\localhost\_\beans$jsp.java:108: Class org.apache.jsp.LanguageBean not found. out.print(JspRuntimeLibrary.toString((((LanguageBean)pageContext.findAttribute("languageBean")).getLanguageComments()))); ^ 6 errors, 1 warning

Oracle Community | 843797 | 1 decade ago
  1. 0

    deprecated error

    Oracle Community | 1 decade ago | 843840
    org.apache.jasper.JasperException: Unable to compile class for JSPNote: sun.tools.javac.Main has been deprecated. An error occurred at line: 1 in the jsp file: /beans.jsp Generated servlet error: C:\Program Files\Apache Tomcat 4.0\work\Standalone\localhost\_\beans$jsp.java:56: Class org.apache.jsp.LanguageBean not found. LanguageBean languageBean = null; ^ An error occurred at line: 1 in the jsp file: /beans.jsp Generated servlet error: C:\Program Files\Apache Tomcat 4.0\work\Standalone\localhost\_\beans$jsp.java:59: Class org.apache.jsp.LanguageBean not found. languageBean= (LanguageBean) ^ An error occurred at line: 1 in the jsp file: /beans.jsp Generated servlet error: C:\Program Files\Apache Tomcat 4.0\work\Standalone\localhost\_\beans$jsp.java:64: Class org.apache.jsp.LanguageBean not found. languageBean = (LanguageBean) java.beans.Beans.instantiate(this.getClass().getClassLoader(), "LanguageBean"); ^ An error occurred at line: 12 in the jsp file: /beans.jsp Generated servlet error: C:\Program Files\Apache Tomcat 4.0\work\Standalone\localhost\_\beans$jsp.java:94: Class org.apache.jsp.LanguageBean not found. out.print(JspRuntimeLibrary.toString((((LanguageBean)pageContext.findAttribute("languageBean")).getName()))); ^ An error occurred at line: 15 in the jsp file: /beans.jsp Generated servlet error: C:\Program Files\Apache Tomcat 4.0\work\Standalone\localhost\_\beans$jsp.java:101: Class org.apache.jsp.LanguageBean not found. out.print(JspRuntimeLibrary.toString((((LanguageBean)pageContext.findAttribute("languageBean")).getLanguage()))); ^ An error occurred at line: 18 in the jsp file: /beans.jsp Generated servlet error: C:\Program Files\Apache Tomcat 4.0\work\Standalone\localhost\_\beans$jsp.java:108: Class org.apache.jsp.LanguageBean not found. out.print(JspRuntimeLibrary.toString((((LanguageBean)pageContext.findAttribute("languageBean")).getLanguageComments()))); ^ 6 errors, 1 warning
  2. 0

    deprecated error

    Oracle Community | 1 decade ago | 843835
    org.apache.jasper.JasperException: Unable to compile class for JSPNote: sun.tools.javac.Main has been deprecated. An error occurred at line: 1 in the jsp file: /beans.jsp Generated servlet error: C:\Program Files\Apache Tomcat 4.0\work\Standalone\localhost\_\beans$jsp.java:56: Class org.apache.jsp.LanguageBean not found. LanguageBean languageBean = null; ^ An error occurred at line: 1 in the jsp file: /beans.jsp Generated servlet error: C:\Program Files\Apache Tomcat 4.0\work\Standalone\localhost\_\beans$jsp.java:59: Class org.apache.jsp.LanguageBean not found. languageBean= (LanguageBean) ^ An error occurred at line: 1 in the jsp file: /beans.jsp Generated servlet error: C:\Program Files\Apache Tomcat 4.0\work\Standalone\localhost\_\beans$jsp.java:64: Class org.apache.jsp.LanguageBean not found. languageBean = (LanguageBean) java.beans.Beans.instantiate(this.getClass().getClassLoader(), "LanguageBean"); ^ An error occurred at line: 12 in the jsp file: /beans.jsp Generated servlet error: C:\Program Files\Apache Tomcat 4.0\work\Standalone\localhost\_\beans$jsp.java:94: Class org.apache.jsp.LanguageBean not found. out.print(JspRuntimeLibrary.toString((((LanguageBean)pageContext.findAttribute("languageBean")).getName()))); ^ An error occurred at line: 15 in the jsp file: /beans.jsp Generated servlet error: C:\Program Files\Apache Tomcat 4.0\work\Standalone\localhost\_\beans$jsp.java:101: Class org.apache.jsp.LanguageBean not found. out.print(JspRuntimeLibrary.toString((((LanguageBean)pageContext.findAttribute("languageBean")).getLanguage()))); ^ An error occurred at line: 18 in the jsp file: /beans.jsp Generated servlet error: C:\Program Files\Apache Tomcat 4.0\work\Standalone\localhost\_\beans$jsp.java:108: Class org.apache.jsp.LanguageBean not found. out.print(JspRuntimeLibrary.toString((((LanguageBean)pageContext.findAttribute("languageBean")).getLanguageComments()))); ^ 6 errors, 1 warning
  3. 0

    JSP + Javabeans

    Oracle Community | 1 decade ago | 843797
    org.apache.jasper.JasperException: Unable to compile class for JSPNote: sun.tools.javac.Main has been deprecated. An error occurred at line: 1 in the jsp file: /beans.jsp Generated servlet error: C:\Program Files\Apache Tomcat 4.0\work\Standalone\localhost\_\beans$jsp.java:56: Class org.apache.jsp.LanguageBean not found. LanguageBean languageBean = null; ^ An error occurred at line: 1 in the jsp file: /beans.jsp Generated servlet error: C:\Program Files\Apache Tomcat 4.0\work\Standalone\localhost\_\beans$jsp.java:59: Class org.apache.jsp.LanguageBean not found. languageBean= (LanguageBean) ^ An error occurred at line: 1 in the jsp file: /beans.jsp Generated servlet error: C:\Program Files\Apache Tomcat 4.0\work\Standalone\localhost\_\beans$jsp.java:64: Class org.apache.jsp.LanguageBean not found. languageBean = (LanguageBean) java.beans.Beans.instantiate(this.getClass().getClassLoader(), "LanguageBean"); ^ An error occurred at line: 12 in the jsp file: /beans.jsp Generated servlet error: C:\Program Files\Apache Tomcat 4.0\work\Standalone\localhost\_\beans$jsp.java:94: Class org.apache.jsp.LanguageBean not found. out.print(JspRuntimeLibrary.toString((((LanguageBean)pageContext.findAttribute("languageBean")).getName()))); ^ An error occurred at line: 15 in the jsp file: /beans.jsp Generated servlet error: C:\Program Files\Apache Tomcat 4.0\work\Standalone\localhost\_\beans$jsp.java:101: Class org.apache.jsp.LanguageBean not found. out.print(JspRuntimeLibrary.toString((((LanguageBean)pageContext.findAttribute("languageBean")).getLanguage()))); ^ An error occurred at line: 18 in the jsp file: /beans.jsp Generated servlet error: C:\Program Files\Apache Tomcat 4.0\work\Standalone\localhost\_\beans$jsp.java:108: Class org.apache.jsp.LanguageBean not found. out.print(JspRuntimeLibrary.toString((((LanguageBean)pageContext.findAttribute("languageBean")).getLanguageComments()))); ^ 6 errors, 1 warning
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    deprecated error

    Oracle Community | 1 decade ago | 843797
    org.apache.jasper.JasperException: Unable to compile class for JSPNote: sun.tools.javac.Main has been deprecated. An error occurred at line: 1 in the jsp file: /beans.jsp Generated servlet error: C:\Program Files\Apache Tomcat 4.0\work\Standalone\localhost\_\beans$jsp.java:56: Class org.apache.jsp.LanguageBean not found. LanguageBean languageBean = null; ^ An error occurred at line: 1 in the jsp file: /beans.jsp Generated servlet error: C:\Program Files\Apache Tomcat 4.0\work\Standalone\localhost\_\beans$jsp.java:59: Class org.apache.jsp.LanguageBean not found. languageBean= (LanguageBean) ^ An error occurred at line: 1 in the jsp file: /beans.jsp Generated servlet error: C:\Program Files\Apache Tomcat 4.0\work\Standalone\localhost\_\beans$jsp.java:64: Class org.apache.jsp.LanguageBean not found. languageBean = (LanguageBean) java.beans.Beans.instantiate(this.getClass().getClassLoader(), "LanguageBean"); ^ An error occurred at line: 12 in the jsp file: /beans.jsp Generated servlet error: C:\Program Files\Apache Tomcat 4.0\work\Standalone\localhost\_\beans$jsp.java:94: Class org.apache.jsp.LanguageBean not found. out.print(JspRuntimeLibrary.toString((((LanguageBean)pageContext.findAttribute("languageBean")).getName()))); ^ An error occurred at line: 15 in the jsp file: /beans.jsp Generated servlet error: C:\Program Files\Apache Tomcat 4.0\work\Standalone\localhost\_\beans$jsp.java:101: Class org.apache.jsp.LanguageBean not found. out.print(JspRuntimeLibrary.toString((((LanguageBean)pageContext.findAttribute("languageBean")).getLanguage()))); ^ An error occurred at line: 18 in the jsp file: /beans.jsp Generated servlet error: C:\Program Files\Apache Tomcat 4.0\work\Standalone\localhost\_\beans$jsp.java:108: Class org.apache.jsp.LanguageBean not found. out.print(JspRuntimeLibrary.toString((((LanguageBean)pageContext.findAttribute("languageBean")).getLanguageComments()))); ^ 6 errors, 1 warning
  6. 0

    Tomcat Error (HTTP-Status 500-Internal Server Error)

    Oracle Community | 1 decade ago | 843840
    org.apache.jasper.JasperException: Unable to compile class for JSPNote: sun.tools.javac.Main has been deprecated. C:\Program Files\Apache Tomcat 4.0\work\Standalone\localhost\_\testing\Hello$jsp.java:68: Incompatible type for method. Explicit cast needed to convert java.lang.Throwable to java.lang.Exception. if (pageContext != null) pageContext.handlePageException(t); ^ 1 error, 1 warning

  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: 1 in the jsp file: /beans.jsp Generated servlet error: C:\Program Files\Apache Tomcat 4.0\work\Standalone\localhost\_\beans$jsp.java:56: Class org.apache.jsp.LanguageBean not found. LanguageBean languageBean = null; ^ An error occurred at line: 1 in the jsp file: /beans.jsp Generated servlet error: C:\Program Files\Apache Tomcat 4.0\work\Standalone\localhost\_\beans$jsp.java:59: Class org.apache.jsp.LanguageBean not found. languageBean= (LanguageBean) ^ An error occurred at line: 1 in the jsp file: /beans.jsp Generated servlet error: C:\Program Files\Apache Tomcat 4.0\work\Standalone\localhost\_\beans$jsp.java:64: Class org.apache.jsp.LanguageBean not found. languageBean = (LanguageBean) java.beans.Beans.instantiate(this.getClass().getClassLoader(), "LanguageBean"); ^ An error occurred at line: 12 in the jsp file: /beans.jsp Generated servlet error: C:\Program Files\Apache Tomcat 4.0\work\Standalone\localhost\_\beans$jsp.java:94: Class org.apache.jsp.LanguageBean not found. out.print(JspRuntimeLibrary.toString((((LanguageBean)pageContext.findAttribute("languageBean")).getName()))); ^ An error occurred at line: 15 in the jsp file: /beans.jsp Generated servlet error: C:\Program Files\Apache Tomcat 4.0\work\Standalone\localhost\_\beans$jsp.java:101: Class org.apache.jsp.LanguageBean not found. out.print(JspRuntimeLibrary.toString((((LanguageBean)pageContext.findAttribute("languageBean")).getLanguage()))); ^ An error occurred at line: 18 in the jsp file: /beans.jsp Generated servlet error: C:\Program Files\Apache Tomcat 4.0\work\Standalone\localhost\_\beans$jsp.java:108: Class org.apache.jsp.LanguageBean not found. out.print(JspRuntimeLibrary.toString((((LanguageBean)pageContext.findAttribute("languageBean")).getLanguageComments()))); ^ 6 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:548)
    3. org.apache.jasper.servlet.JspServlet$JspServletWrapper.loadIfNecessary(JspServlet.java:176)
    4. org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServlet.java:188)
    5. org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:381)
    6. org.apache.jasper.servlet.JspServlet.service(JspServlet.java:473)
    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:2347)
    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:1027)
    2. org.apache.catalina.connector.http.HttpProcessor.run(HttpProcessor.java:1125)
    2 frames
  6. Java RT
    Thread.run
    1. java.lang.Thread.run(Thread.java:536)
    1 frame