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

Samebug tips0

We couldn't find tips for this exception.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web257

  • via Unknown by 807567,
  • via Unknown by 807567,
  • Stack trace

    • 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 org.apache.jasper.compiler.Compiler.compile(Compiler.java:284) 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 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)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    Unknown visitor
    Unknown visitorOnce,