org.apache.jasper.JasperException: No se puede compilar la clase para JSPNote: sun.tools.javac.Main has been deprecated. C:\jboss-3.0.4\catalina\work\MainEngine\localhost\apply\apply\_0005fmain$jsp.java:7: Package se.anatom.ejbca.ca.sign not found in import. import se.anatom.ejbca.ca.sign.\*;     ^ C:\jboss-3.0.4\catalina\work\MainEngine\localhost\apply\apply\_0005fmain$jsp.java:9: Class se.anatom.ejbca.log.Admin not found in import.                               se.anatom.ejbca.log.Admin;                               ^ C:\jboss-3.0.4\catalina\work\MainEngine\localhost\apply\apply\_0005fmain$jsp.java:10: Class se.anatom.ejbca.apply.ApplyBean not found in import. import  se.anatom.ejbca.apply.ApplyBean;      ^ C:\jboss-3.0.4\catalina\work\MainEngine\localhost\apply\apply\_0005fmain$jsp.java:11: Class se.anatom.ejbca.SecConst not found in import. import  se.anatom.ejbca.SecConst;      ^ 4 errors, 1 warning

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 ejbca by *anonymous
, 1 year ago
No se puede compilar la clase para JSPNote: sun.tools.javac.Main has been deprecated. C:\jboss-3.0.4\catalina\work\MainEngine\localhost\apply\apply\_0005fmain$jsp.java:7: Package se.anatom.ejbca.ca.sign not found in import. import
via Oracle Community by 843835, 1 year ago
Unable to compile class for JSPNote: sun.tools.javac.Main has been deprecated. C:\jakarta-tomcat-4.0.1\work\localhost\javaAssign2\LoginController$jsp.java:5: Class User not found in import. import User; ^ C:\jakarta-tomcat-4.0.1\work\localhost
via Oracle Community by 843835, 1 year ago
Unable to compile class for JSPNote: sun.tools.javac.Main has been deprecated. D:\tomcat\work\Standalone\localhost\_\userCounter$jsp.java:4: Class or interface declaration expected. import javax.servlet.*; ^ D:\tomcat\work\Standalone\localhost
via Coderanch by Nupur Gupta, 11 months ago
Unable to compile class for JSP C:\jboss-3.0.3\catalina\work\MainEngine\localhost\myjsp\directives2$jsp.java:54: Incompatible type for method. Explicit cast needed to convert org.apache.jsp.directives2$jsp to javax.servlet.Servlet. pageContext = _jspxFactory.getPageContext(this, request, response, ^ 1 error
via Oracle Community by 807549, 1 year ago
Unable to compile class for JSPNote: sun.tools.javac.Main has been deprecated. An error occurred at line: 1 in the jsp file: /qms1_src/blank.jsp Generated servlet error: C:\Tomcat 4.0\work\localhost\_\qms1_src\blank$jsp.java:56: Class
via Coderanch by Jian Su, 11 months ago
Unable to compile class for JSPNote: sun.tools.javac.Main has been deprecated. An error occurred at line: 5 in the jsp file: /jsp/datetime.jsp Generated servlet error: C:\Tomcat4\work\localhost\_\jsp\datetime$jsp.java:59: Class
org.apache.jasper.JasperException: No se puede compilar la clase para JSPNote: sun.tools.javac.Main has been deprecated. C:\jboss-3.0.4\catalina\work\MainEngine\localhost\apply\apply\_0005fmain$jsp.java:7: Package se.anatom.ejbca.ca.sign not found in import. import se.anatom.ejbca.ca.sign.\*;     ^ C:\jboss-3.0.4\catalina\work\MainEngine\localhost\apply\apply\_0005fmain$jsp.java:9: Class se.anatom.ejbca.log.Admin not found in import.                               se.anatom.ejbca.log.Admin;                               ^ C:\jboss-3.0.4\catalina\work\MainEngine\localhost\apply\apply\_0005fmain$jsp.java:10: Class se.anatom.ejbca.apply.ApplyBean not found in import. import  se.anatom.ejbca.apply.ApplyBean;      ^ C:\jboss-3.0.4\catalina\work\MainEngine\localhost\apply\apply\_0005fmain$jsp.java:11: Class se.anatom.ejbca.SecConst not found in import. import  se.anatom.ejbca.SecConst;      ^ 4 errors, 1 warning
at org.apache.jasper.compiler.Compiler.compile(Compiler.java:285)
at org.apache.jasper.servlet.JspServlet.loadJSP(JspServlet.java:548)
at org.apache.jasper.servlet.JspServlet$JspServletWrapper.loadIfNecessary(JspServlet.java:176)
at org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServlet.java:188)
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:381)
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.doFilter(ApplicationFilterChain.java:193)
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:190)
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:2347)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180)
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.valves.AccessLogValve.invoke(AccessLogValve.java:468)
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:1027)
at org.apache.catalina.connector.http.HttpProcessor.run(HttpProcessor.java:1125)
at java.lang.Thread.run(Thread.java:536)

Users with the same issue

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

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