org.apache.jasper.JasperException: Unable to compile class for JSP An error occurred at line: 2 in the jsp file: /Reena/example1/Validate.jsp Generated servlet error: c:\j2sdkee1.3.1\repository\archanak\web\Reena\example1\Validate$jsp.java:60: Class org.apache.jsp.Validate not found. Validate VA = null; ^ An error occurred at line: 2 in the jsp file: /Reena/example1/Validate.jsp Generated servlet error: c:\j2sdkee1.3.1\repository\archanak\web\Reena\example1\Validate$jsp.java:63: Class org.apache.jsp.Validate not found. VA= (Validate) ^ An error occurred at line: 2 in the jsp file: /Reena/example1/Validate.jsp Generated servlet error: c:\j2sdkee1.3.1\repository\archanak\web\Reena\example1\Validate$jsp.java:68: Class org.apache.jsp.Validate not found. VA = (Validate) java.beans.Beans.instantiate(this.getClass().getClassLoader(), "Validate"); ^ 3 errors

Oracle Community | 807594 | 1 decade ago
  1. 0

    Where should I place the class files?

    Oracle Community | 1 decade ago | 807594
    org.apache.jasper.JasperException: Unable to compile class for JSP An error occurred at line: 2 in the jsp file: /Reena/example1/Validate.jsp Generated servlet error: c:\j2sdkee1.3.1\repository\archanak\web\Reena\example1\Validate$jsp.java:60: Class org.apache.jsp.Validate not found. Validate VA = null; ^ An error occurred at line: 2 in the jsp file: /Reena/example1/Validate.jsp Generated servlet error: c:\j2sdkee1.3.1\repository\archanak\web\Reena\example1\Validate$jsp.java:63: Class org.apache.jsp.Validate not found. VA= (Validate) ^ An error occurred at line: 2 in the jsp file: /Reena/example1/Validate.jsp Generated servlet error: c:\j2sdkee1.3.1\repository\archanak\web\Reena\example1\Validate$jsp.java:68: Class org.apache.jsp.Validate not found. VA = (Validate) java.beans.Beans.instantiate(this.getClass().getClassLoader(), "Validate"); ^ 3 errors
  2. 0

    Problem compiling JSP that uses a Java bean

    Google Groups | 1 decade ago | Nick Smith
    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: /calc/formProcessor.jsp Generated servlet error: D:\j2sdkee1.3.1\repository\nicksmith\web\calc\formProcessor$jsp.java:56: Class org.apache.jsp.rateBean not found. rateBean rb = null; ^ An error occurred at line: 1 in the jsp file: /calc/formProcessor.jsp Generated servlet error: D:\j2sdkee1.3.1\repository\nicksmith\web\calc\formProcessor$jsp.java:59: Class org.apache.jsp.rateBean not found. rb= (rateBean) ^ An error occurred at line: 1 in the jsp file: /calc/formProcessor.jsp Generated servlet error: D:\j2sdkee1.3.1\repository\nicksmith\web\calc\formProcessor$jsp.java:64: Class org.apache.jsp.rateBean not found. rb = (rateBean) java.beans.Beans.instantiate(this.getClass().getClassLoader(), "rateBean"); ^ 3 errors, 1 warning
  3. 0

    A Servlet Exception Has Occurred - Please help

    Google Groups | 1 decade ago | David Roberge
    org.apache.jasper.JasperException: Unable to compile class for JSP An error occurred at line: 7 in the jsp file: /AbcomHome.jsp Generated servlet error: /usr/local/j2ee/repository/blakserver.dynip.com/web/PCProjectContextRoot/_0002fAbcomHome_jsp.java:69: Class org.apache.jsp.GlobalVarBean not found. GlobalVarBean GlobalBean = null; ^ An error occurred at line: 7 in the jsp file: /AbcomHome.jsp Generated servlet error: /usr/local/j2ee/repository/blakserver.dynip.com/web/PCProjectContextRoot/_0002fAbcomHome_jsp.java:72: Class org.apache.jsp.GlobalVarBean not found. GlobalBean= (GlobalVarBean) ^ An error occurred at line: 7 in the jsp file: /AbcomHome.jsp Generated servlet error: /usr/local/j2ee/repository/blakserver.dynip.com/web/PCProjectContextRoot/_0002fAbcomHome_jsp.java:77: Class org.apache.jsp.GlobalVarBean not found. GlobalBean = (GlobalVarBean) java.beans.Beans.instantiate(this.getClass().getClassLoader(), "GlobalVarBean"); ^ 3 errors
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    db:: 5.06::error exception unknown 3d

    hivmr.com | 11 months ago
    org.apache.jasper.JasperException
  6. 0

    Error to start

    xplanner | 1 decade ago | anibalagustin
    org.apache.jasper.JasperException: File "/xplanner/struts-logic" not found

  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: 2 in the jsp file: /Reena/example1/Validate.jsp Generated servlet error: c:\j2sdkee1.3.1\repository\archanak\web\Reena\example1\Validate$jsp.java:60: Class org.apache.jsp.Validate not found. Validate VA = null; ^ An error occurred at line: 2 in the jsp file: /Reena/example1/Validate.jsp Generated servlet error: c:\j2sdkee1.3.1\repository\archanak\web\Reena\example1\Validate$jsp.java:63: Class org.apache.jsp.Validate not found. VA= (Validate) ^ An error occurred at line: 2 in the jsp file: /Reena/example1/Validate.jsp Generated servlet error: c:\j2sdkee1.3.1\repository\archanak\web\Reena\example1\Validate$jsp.java:68: Class org.apache.jsp.Validate not found. VA = (Validate) java.beans.Beans.instantiate(this.getClass().getClassLoader(), "Validate"); ^ 3 errors

    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:551)
    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
    ApplicationFilterChain$1.run
    1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247)
    2. org.apache.catalina.core.ApplicationFilterChain.access$0(ApplicationFilterChain.java:197)
    3. org.apache.catalina.core.ApplicationFilterChain$1.run(ApplicationFilterChain.java:176)
    3 frames
  5. Java RT
    AccessController.doPrivileged
    1. java.security.AccessController.doPrivileged(Native Method)
    1 frame
  6. Glassfish Core
    ContainerBase.invoke
    1. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:172)
    2. org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:243)
    3. org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
    4. org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
    5. org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
    6. org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:201)
    7. org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
    8. org.apache.catalina.valves.CertificatesValve.invoke(CertificatesValve.java:246)
    9. org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
    10. org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
    11. org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
    12. org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2343)
    13. org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:164)
    14. org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
    15. org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:170)
    16. org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
    17. org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:170)
    18. org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
    19. org.apache.catalina.authenticator.SingleSignOn.invoke(SingleSignOn.java:368)
    20. org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
    21. org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
    22. org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
    23. org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:174)
    24. org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
    25. org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
    26. org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
    26 frames
  7. 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
  8. Java RT
    Thread.run
    1. java.lang.Thread.run(Thread.java:479)
    1 frame