org.apache.jasper.JasperException: Unable to compile class for JSPNote: sun.tools.javac.Main has been deprecated. An error occurred between lines: 4 and 5 in the JSP file: /testinc.jsp Generated servlet error: /sun/appserver7/appserv/domains/domain1/server1/generated/jsp/j2ee-modules/javafinal/_jasper/_testinc_jsp.java:60 ax.servlet.jsp.JspWriter, boolean) not found in class org.apache.jasper.runtime.JspRuntimeLibrary. JspRuntimeLibrary.include(request, response, "included.jsp" + jspx qStr, out, true); ^ 1 error, 1 warning

Oracle Community | 807581 | 1 decade ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Bug  with jsp:include

    Oracle Community | 1 decade ago | 807581
    org.apache.jasper.JasperException: Unable to compile class for JSPNote: sun.tools.javac.Main has been deprecated. An error occurred between lines: 4 and 5 in the JSP file: /testinc.jsp Generated servlet error: /sun/appserver7/appserv/domains/domain1/server1/generated/jsp/j2ee-modules/javafinal/_jasper/_testinc_jsp.java:60 ax.servlet.jsp.JspWriter, boolean) not found in class org.apache.jasper.runtime.JspRuntimeLibrary. JspRuntimeLibrary.include(request, response, "included.jsp" + jspx qStr, out, true); ^ 1 error, 1 warning
  2. 0

    Unable to compile class for JSP

    Oracle Community | 1 decade ago | 807581
    org.apache.jasper.JasperException: Unable to compile class for JSP
  3. 0

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

    Oracle Community | 1 decade ago | 807581
    org.apache.jasper.JasperException: 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 not define java.util.List getIncludes() from class org.apache.jasper.runtime.HttpJspBase. public class index jsp extends HttpJspBase { ^ 1 error, 1 warning
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Package not found in import Error-SunOne App Server

    Oracle Community | 1 decade ago | 843836
    org.apache.jasper.JasperException: Unable to compile class for JSPNote: sun.tools.javac.Main has been deprecated. G:\SunOne\domains\domain1\hipaa\generated\jsp\j2ee-modules\hipaa\_jasper\_jsp\_login_jsp.java:3: Package com.ge.erc.hipaa.util not found in import. import com.ge.erc.hipaa.util.*; ^ G:\SunOne\domains\domain1\hipaa\generated\jsp\j2ee-modules\hipaa\_jasper\_jsp\_login_jsp.java:4: Package com.ge.erc.hipaa.user not found in import. import com.ge.erc.hipaa.user.*; ^ 2 errors, 1 warning
  6. 0

    Appserver unable to Compile JSP pages

    Oracle Community | 1 decade ago | 807581
    org.apache.jasper.JasperException: 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/generated/jsp/j2ee-modules/devJSP/_jasper/_vgn/_portal/_system/_channel/_index_jsp.java:951: Method getListOfScrapeChannels(int) not found in class com.sunweb.assembly.CustomChannel. List listOfScrapeChannelForSite = customChannel.getListOfScrapeChannels(siteId); ^ 1 error, 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. An error occurred between lines: 4 and 5 in the JSP file: /testinc.jsp Generated servlet error: /sun/appserver7/appserv/domains/domain1/server1/generated/jsp/j2ee-modules/javafinal/_jasper/_testinc_jsp.java:60 ax.servlet.jsp.JspWriter, boolean) not found in class org.apache.jasper.runtime.JspRuntimeLibrary. JspRuntimeLibrary.include(request, response, "included.jsp" + jspx qStr, out, true); ^ 1 error, 1 warning

      at org.apache.jasper.compiler.Compiler.compile()
    2. GWT dev
      Compiler.compile
      1. org.apache.jasper.compiler.Compiler.compile(Unknown Source)
      1 frame
    3. com.iplanet.ias
      JspServlet.service
      1. com.iplanet.ias.web.jsp.JspServlet$JspServletWrapper.loadJSP(Unknown Source)
      2. com.iplanet.ias.web.jsp.JspServlet$JspServletWrapper.access$000(Unknown Source)
      3. com.iplanet.ias.web.jsp.JspServlet.serviceJspFile(Unknown Source)
      4. com.iplanet.ias.web.jsp.JspServlet.service(Unknown Source)
      4 frames
    4. JavaServlet
      HttpServlet.service
      1. javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
      1 frame
    5. Glassfish Core
      StandardWrapperValve$1.run
      1. org.apache.catalina.core.StandardWrapperValve.invokeServletService(Unknown Source)
      2. org.apache.catalina.core.StandardWrapperValve.access$000(Unknown Source)
      3. org.apache.catalina.core.StandardWrapperValve$1.run(Unknown Source)
      3 frames
    6. Java RT
      AccessController.doPrivileged
      1. java.security.AccessController.doPrivileged(Native Method)
      1 frame
    7. Glassfish Core
      StandardPipeline.invoke
      1. org.apache.catalina.core.StandardWrapperValve.invoke(Unknown Source)
      2. org.apache.catalina.core.StandardPipeline.invoke(Unknown Source)
      3. org.apache.catalina.core.StandardContextValve.invoke(Unknown Source)
      4. org.apache.catalina.core.StandardPipeline.invoke(Unknown Source)
      5. org.apache.catalina.core.StandardHostValve.invoke(Unknown Source)
      6. org.apache.catalina.core.StandardPipeline.invoke(Unknown Source)
      6 frames
    8. com.iplanet.ias
      WebContainer.service
      1. com.iplanet.ias.web.connector.nsapi.NSAPIProcessor.process(Unknown Source)
      2. com.iplanet.ias.web.WebContainer.service(Unknown Source)
      2 frames