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

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via Oracle Community by 807594, 1 year ago
= (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
via Google Groups by Nick Smith, 2 years ago
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
via Oracle Community by 843835, 1 year ago
. SimulationClass= (Simulation) ^ An error occurred at line: 8 in the jsp file: /simulation.jsp Generated servlet error: d:\java\j2ee\repository\DomingoPalao\web\AgentsContextRoot\simulation$jsp.java:78: Class org.apache.jsp.Simulation not found. SimulationClass = (Simulation) java.beans.Beans.instantiate(this.getClass().getClassLoader(), "Simulation"); ^ 3 errors
via Oracle Community by 843835, 1 year ago
Unable to compile class for JSP An error occurred at line: 10 in the jsp file: /simulation.jsp Generated servlet error: d:\java\j2ee\repository\DomingoPalao\web\AgentsContextRoot\simulation$jsp.java:70: Class com.sim_agents.Simulation not found
via Oracle Community by 843835, 1 year ago
Unable to compile class for JSPNote: sun.tools.javac.Main has been deprecated. An error occured between lines: 10 and 11 in the jsp file: /Register.jsp Generated servlet error: c:\j2sdkee1.3.1\repository\lab429\web\Register\Register$jsp.java:104
via Oracle Community by 843836, 1 year ago
Unable to compile class for JSPNote: sun.tools.javac.Main has been deprecated. /var/tomcat4/work/dolphinsdata.com/_/webapps/begjsp-ch16/booklist$jsp.java:6: Package com.wrox.databases not found in import. import com.wrox.databases.*; ^ 1 error, 1 warning
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(Compiler.java:285)
at org.apache.jasper.servlet.JspServlet.loadJSP(JspServlet.java:551)
at org.apache.jasper.servlet.JspServlet$JspServletWrapper.loadIfNecessary(JspServlet.java:177)
at org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServlet.java:189)
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:382)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247)
at org.apache.catalina.core.ApplicationFilterChain.access$0(ApplicationFilterChain.java:197)
at org.apache.catalina.core.ApplicationFilterChain$1.run(ApplicationFilterChain.java:176)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:172)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:243)
at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:201)
at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
at org.apache.catalina.valves.CertificatesValve.invoke(CertificatesValve.java:246)
at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2343)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:164)
at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:170)
at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:170)
at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
at org.apache.catalina.authenticator.SingleSignOn.invoke(SingleSignOn.java:368)
at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:174)
at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
at org.apache.catalina.connector.http.HttpProcessor.process(HttpProcessor.java:1012)
at org.apache.catalina.connector.http.HttpProcessor.run(HttpProcessor.java:1107)
at java.lang.Thread.run(Thread.java:479)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 2 years ago
73 more bugmates

Know the solutions? Share your knowledge to help other developers to debug faster.