org.apache.jasper.JasperException: WEB4000: 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 807596, 1 year ago
Unable to compile class for JSPNote: sun.tools.javac.Main has been deprecated. An error occurred between lines: 187 and 189 in the JSP file: /thread-flat.jsp Generated servlet error: /var/opt/SUNWappserver7/domains/software/javaforums/generated/jsp
via Oracle Community by 807567, 6 months ago
WEB4000: Unable to compile class for JSP /opt/Webserver/https-application/ClassCache/https-application/_jsps/_frame/_app_frameview_jsp.java:8: 'class' or 'interface' expected import javax.servlet.*; ^ /opt/Webserver/https-application/ClassCache
via Oracle Community by 807567, 6 months ago
WEB4000: Unable to compile class for JSP /opt/SunWebSrv/https-webinstance/ClassCache/https-webinstance/_jsps/_tree/_www_treeview_jsp.java:8: 'class' or 'interface' expected import javax.servlet.*; ^ /opt/SunWebSrv/https-webinstance/ClassCache/https
via Oracle Community by 807567, 6 months ago
WEB4000: Unable to compile class for JSP /opt/SunWebSrv/https-webapplication/ClassCache/https-webapplication/_jsps/_www_treeview_jsp.java:8: 'class' or 'interface' expected import javax.servlet.*; ^ /opt/SunWebSrv/https-webapplication/ClassCache
via Oracle Community by 807573, 1 year ago
WEB4000: Unable to compile class for JSP
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
org.apache.jasper.JasperException: WEB4000: Unable to compile class for JSP
at com.iplanet.ias.web.jsp.JspServlet$JspServletWrapper.loadJSP(JspServlet.java:756)
at com.iplanet.ias.web.jsp.JspServlet$JspServletWrapper.access$000(JspServlet.java:616)
at com.iplanet.ias.web.jsp.JspServlet.serviceJspFile(JspServlet.java:401)
at com.iplanet.ias.web.jsp.JspServlet.service(JspServlet.java:363)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:908)
at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:770)
at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:471)
at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:382)
at com.iplanet.jato.view.ViewBeanBase.forward(ViewBeanBase.java:346)
at com.iplanet.jato.view.ViewBeanBase.forwardTo(ViewBeanBase.java:267)
at com.iplanet.am.console.base.ConsoleServletBase.browserRedirect(ConsoleServletBase.java:262)
at com.iplanet.am.console.base.ConsoleServletBase.validateSSOToken(ConsoleServletBase.java:246)
at com.iplanet.am.console.base.ConsoleServletBase.onBeforeRequest(ConsoleServletBase.java:201)
at com.iplanet.jato.ApplicationServletBase.fireBeforeRequestEvent(ApplicationServletBase.java:964)
at com.iplanet.jato.ApplicationServletBase.processRequest(ApplicationServletBase.java:422)
at com.iplanet.jato.ApplicationServletBase.doPost(ApplicationServletBase.java:324)
at com.iplanet.jato.ApplicationServletBase.doGet(ApplicationServletBase.java:294)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:787)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:908)
at org.apache.catalina.core.StandardWrapperValve.invokeServletService(StandardWrapperValve.java:771)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:322)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:509)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:212)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:509)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:209)
at com.iplanet.ias.web.connector.nsapi.NSAPIProcessor.process(NSAPIProcessor.java:161)
at com.iplanet.ias.web.WebContainer.service(WebContainer.java:586)

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.