org.apache.jasper.JasperException: Unable to compile class for JSPNote: sun.tools.javac.Main has been deprecated. /usr/iplanet/servers/https-prod1.basys.com/config/../ClassCache/_jsps/_includefile_jsp.java:78: Method getServletContext() not found in interface javax.servlet.http.HttpSession. javax.servlet.ServletContext context = session.getServletContext(); ^ 1 error, 1 warning , stack: org.apache.jasper.JasperException: Unable to compile class for JSPNote: sun.tools.javac.Main has been deprecated. /usr/iplanet/servers/https-prod1.basys.com/config/../ClassCache/_jsps/_includefile_jsp.java:78: Method getServletContext() not found in interface javax.servlet.http.HttpSession. javax.servlet.ServletContext context = session.getServletContext(); ^ 1 error, 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 Oracle Community by 807567, 1 year ago
Unable to compile class for JSPNote: sun.tools.javac.Main has been deprecated. /usr/iplanet/servers/https-prod1.basys.com/config/../ClassCache/_jsps/_includefile_jsp.java:78: Method getServletContext() not found in interface
via Oracle Community by 807581, 6 months ago
Unable to compile class for JSPNote: sun.tools.javac.Main has been deprecated. /usr/iplanet/servers/https-ULCMBIPTDMZ04/config/../ClassCache/_jsps/_FlightSchedule/_jsp/_test_jsp.java:15: Class com.sla.fs.scheduleCreator not found in import. import com.sla.fs.scheduleCreator; ^ 1 error, 1 warning
via Oracle Community by 843835, 1 year ago
Unable to compile class for JSPNote: sun.tools.javac.Main has been deprecated. /extra/iplanet/servers/https-venus.mitsubishichips.com/config/../ClassCache/_jsps/_internet/_latestnews_jsp.java:16: Package oracle.jdbc.driver not found in import. import oracle.jdbc.driver.*; ^ 1 error, 1 warning
via Oracle Community by 807567, 6 months ago
Unable to compile class for JSPNote: sun.tools.javac.Main has been deprecated. /usr/iplanet/servers/https-ozweb1-443/config/../ClassCache/_jsps/_purchase/_corporate/_sales_jsp.java:63: Class pin.CreateCustomer not found. 6 errors, 1 warning
via Oracle Community by 807567, 6 months ago
Unable to compile class for JSPNote: sun.tools.javac.Main has been deprecated. C:\iPlanet\Servers\https-web_test.wellcarehmo.com\config\..\ClassCache\_jsps\_test\_doctor8_jsp.java:31: Ambiguous class: java.beans.Statement and java.sql.Statement
via Oracle Community by 843854, 1 year ago
Unable to compile class for JSPNote: sun.tools.javac.Main has been deprecated. C:\iPlanet\Servers\https-web_test.xyz.com\config\..\ClassCache\_jsps\_test\_doctor9_jsp.java:31: Ambiguous class: java.beans.Statement and java.sql.Statement Statement st
org.apache.jasper.JasperException: Unable to compile class for JSPNote: sun.tools.javac.Main has been deprecated. /usr/iplanet/servers/https-prod1.basys.com/config/../ClassCache/_jsps/_includefile_jsp.java:78: Method getServletContext() not found in interface javax.servlet.http.HttpSession. javax.servlet.ServletContext context = session.getServletContext(); ^ 1 error, 1 warning , stack: org.apache.jasper.JasperException: Unable to compile class for JSPNote: sun.tools.javac.Main has been deprecated. /usr/iplanet/servers/https-prod1.basys.com/config/../ClassCache/_jsps/_includefile_jsp.java:78: Method getServletContext() not found in interface javax.servlet.http.HttpSession. javax.servlet.ServletContext context = session.getServletContext(); ^ 1 error, 1 warning
at com.iplanet.server.http.servlet.NSServletEntity.load(NSServletEntity.java:252)
at com.iplanet.server.http.servlet.NSServletEntity.update(NSServletEntity.java:173)
at com.iplanet.server.http.servlet.NSServletRunner.Service(NSServletRunner.java:416)
at com.iplanet.server.http.servlet.NSServletSession.internalRedirect(Native Method)
at com.iplanet.server.http.servlet.NSRequestDispatcher.forward(NSRequestDispatcher.java:48)
at undefined.AjaxServlet.doGet(AjaxServlet.java:300)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.iplanet.server.http.servlet.NSServletRunner.invokeServletService(NSServletRunner.java:897)
at com.iplanet.server.http.servlet.NSServletRunner.Service(NSServletRunner.java:464)

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.