org.apache.jasper.JasperException: Unable to compile class for JSP

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 807581, 1 year ago
Unable to compile class for JSP
via Oracle Community by 807581, 1 year ago
Unable to compile class for JSPNote: sun.tools.javac.Main has been deprecated. An error occurred between lines: 59 and 109 in the JSP file: /vgn/portal/system/channel/index.jsp Generated servlet error: /opt/SUNWappserver7/domains/domain1/SunwebCDS
via Oracle Community by 807567, 1 year ago
WEB4000: Unable to compile class for JSPWEB4125: An error occurred between lines: 2 and 55 in the JSP file: /tic/migtest/admin/./include/db.jsp WEB4126: Generated servlet error: /opt/SUNWwbsvr/https-devel/ClassCache/https-staging/default-webapp
via Oracle Community by 807567, 1 year ago
WEB4000: Unable to compile class for JSP /opt/SUNWwbsvr/https-fredricksburg/ClassCache/https-fredricksburg/default-webapp/_jsps/_SI/_NewSIForm_jsp.java:11: 'class' or 'interface' expected import javax.servlet.*; ^ /opt/SUNWwbsvr/https-fredricksburg
via Oracle Community by 807581, 1 year ago
Unable to compile class for JSP
via Oracle Community by 807581, 1 year ago
Unable to compile class for JSPNote: sun.tools.javac.Main has been deprecated. C:\Sun\AppServer7\domains\domain1\server1\generated\jsp\j2ee-modules\EmailTracker2\_jasper\_index_jsp.java:14: class jasper. index_jsp must be declared abstract. It does
org.apache.jasper.JasperException: Unable to compile class for JSP
at com.iplanet.ias.web.jsp.JspServlet$JspServletWrapper.loadJSP(JspServlet.java:641)
at com.iplanet.ias.web.jsp.JspServlet$JspServletWrapper.access$000(JspServlet.java:501)
at com.iplanet.ias.web.jsp.JspServlet.serviceJspFile(JspServlet.java:322)
at com.iplanet.ias.web.jsp.JspServlet.service(JspServlet.java:287)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247)
at com.matrixone.servlet.CustomFilter.handleDefault(CustomFilter.java:146)
at com.matrixone.servlet.CustomFilter.doFilter(CustomFilter.java:78)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:213)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:265)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:505)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:212)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:505)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:203)
at com.iplanet.ias.web.connector.nsapi.NSAPIProcessor.process(NSAPIProcessor.java:158)
at com.iplanet.ias.web.WebContainer.service(WebContainer.java:605)

Users with the same issue

You are the first who have seen this exception.

Write tip

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