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

Oracle Community | 807581 | 1 decade ago
  1. 0

    Unable to compile class for JSP

    Oracle Community | 1 decade ago | 807581
    org.apache.jasper.JasperException: Unable to compile class for JSP
  2. 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
  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

    jsp compile errors

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

    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 JSP

      at org.apache.jasper.compiler.Compiler.compile()
    2. GWT dev
      Compiler.compile
      1. org.apache.jasper.compiler.Compiler.compile(Compiler.java:312)
      1 frame
    3. com.iplanet.ias
      JspServlet.service
      1. com.iplanet.ias.web.jsp.JspServlet$JspServletWrapper.loadJSP(JspServlet.java:641)
      2. com.iplanet.ias.web.jsp.JspServlet$JspServletWrapper.access$000(JspServlet.java:501)
      3. com.iplanet.ias.web.jsp.JspServlet.serviceJspFile(JspServlet.java:333)
      4. com.iplanet.ias.web.jsp.JspServlet.service(JspServlet.java:287)
      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(StandardWrapperValve.java:720)
      2. org.apache.catalina.core.StandardWrapperValve.access$000(StandardWrapperValve.java:118)
      3. org.apache.catalina.core.StandardWrapperValve$1.run(StandardWrapperValve.java:278)
      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(StandardWrapperValve.java:274)
      2. org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:505)
      3. org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:212)
      4. org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:505)
      5. org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:203)
      6. org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:505)
      6 frames
    8. com.iplanet.ias
      WebContainer.service
      1. com.iplanet.ias.web.connector.nsapi.NSAPIProcessor.process(NSAPIProcessor.java:157)
      2. com.iplanet.ias.web.WebContainer.service(WebContainer.java:848)
      2 frames