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

Oracle Community | 807567 | 1 decade ago
  1. 0

    RequestDispathcer:Forward call failed

    Oracle Community | 1 decade ago | 807567
    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
  2. 0

    java.lang.IllegalStateException

    Oracle Community | 1 decade ago | 807567
    org.apache.jasper.JasperException: Unable to compile class for JSP/iplanetgui/o2c/ROOTPROD/O2C/classes/catalogos/Translation.java:1: The source file encoding may be different with this platform encoding. Please use -encoding option to adjust file encoding, or apply native2ascii utility to make source file ASCII encoding. error: File /iplanetgui/o2c/ROOTPROD/O2C/classes/catalogos/Translation.java does not contain type catalogos.Translation as expected. Please adjust the class path so that the file does not appear in the package catalogos. /iplanet/servers2/https-o2c/config/../ClassCache/_jsps/_jsp/_Avm/_SaleVoucher_jsp.java:15: Class catalogos.Translation not found in import. import catalogos.Translation; ^ 3 errors
  3. 0

    JSP generated Servlet has package org.apache.jsp??????

    Oracle Community | 2 decades ago | 843833
    org.apache.jasper.JasperException: No se puede compilar la clase para JSPNote: sun.tools.javac.Main has been deprecated. D:\myforte2\tomcat401_base\work\localhost\D_3A_5Cmyforte2_5CRegistroWebServiceClient\getClave_0005fSOAP$jsp.java:0: Class javax.ejb.EJBObject not found in interface EJB.RegistroRemote. package org.apache.jsp; ^ 1 error, 1 warning
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    importing packages in JSP using iPlanet problem

    Oracle Community | 1 decade ago | 843840
    org.apache.jasper.JasperException: Unable to compile class for JSPd:\iPlanet\Servers\https-ntserver.vsnl\config\..\ClassCache\_jsps\_test_jsp.java:15: Package adminBeans not found in import. import adminBeans.*; ^ 1 error
  6. 0

    JDBC connection in iPlanet web server.

    Oracle Community | 1 decade ago | 843854
    org.apache.jasper.JasperException: 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=null; ^ C:\iPlanet\Servers\https-web_test.xyz.com\config\..\ClassCache\_jsps\_test\_doctor9_jsp.java:123: Class <<ambiguous>>Statement not found in =. st=con.createStatement(); ^ C:\iPlanet\Servers\https-web_test.xyz.com\config\..\ClassCache\_jsps\_test\_doctor9_jsp.java:123: Incompatible type for =. Can't convert java.sql.Statement to <<ambiguous>>Statement. st=con.createStatement(); ^ C:\iPlanet\Servers\https-web_test.xyz.com\config\..\ClassCache\_jsps\_test\_doctor9_jsp.java:125: Class <<ambiguous>>Statement not found in void _jspService(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse). rs=st.executeQuery(strSql); ^ 4 errors, 1 warning

    1 unregistered visitors
    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. 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()
    2. GWT dev
      Compiler.compile
      1. org.apache.jasper.compiler.Compiler.compile(Compiler.java:284)
      1 frame
    3. com.iplanet.server
      NSRequestDispatcher.forward
      1. com.iplanet.server.http.servlet.NSServletEntity.load(NSServletEntity.java:252)
      2. com.iplanet.server.http.servlet.NSServletEntity.update(NSServletEntity.java:173)
      3. com.iplanet.server.http.servlet.NSServletRunner.Service(NSServletRunner.java:416)
      4. com.iplanet.server.http.servlet.NSServletSession.internalRedirect(Native Method)
      5. com.iplanet.server.http.servlet.NSRequestDispatcher.forward(NSRequestDispatcher.java:48)
      5 frames
    4. Unknown
      AjaxServlet.doGet
      1. AjaxServlet.doGet(AjaxServlet.java:300)
      1 frame
    5. JavaServlet
      HttpServlet.service
      1. javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
      2. javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
      2 frames
    6. com.iplanet.server
      NSServletRunner.Service
      1. com.iplanet.server.http.servlet.NSServletRunner.invokeServletService(NSServletRunner.java:897)
      2. com.iplanet.server.http.servlet.NSServletRunner.Service(NSServletRunner.java:464)
      2 frames