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

Oracle Community | 807573 | 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

    IS Server console not starting on Solaris 9

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

    Configuring Sun One Web Server 6.1 SP4 to run JSPs

    Oracle Community | 1 decade ago | 807567
    org.apache.jasper.JasperException: WEB4000: Unable to compile class for JSP /opt/SUNWwbsvr/https-fredricksburg/ClassCache/https-fredricksburg/default-webapp/_jsps/_SI/_NewSIForm_jsp.java:11: 'class' or 'interface' expected import javax.servlet.*; ^ /opt/SUNWwbsvr/https-fredricksburg/ClassCache/https-fredricksburg/default-webapp/_jsps/_SI/_NewSIForm_jsp.java:12: 'class' or 'interface' expected import javax.servlet.http.*; ^ /opt/SUNWwbsvr/https-fredricksburg/ClassCache/https-fredricksburg/default-webapp/_jsps/_SI/_NewSIForm_jsp.java:13: 'class' or 'interface' expected import javax.servlet.jsp.*; ^ /opt/SUNWwbsvr/https-fredricksburg/ClassCache/https-fredricksburg/default-webapp/_jsps/_SI/_NewSIForm_jsp.java:14: 'class' or 'interface' expected import org.apache.jasper.runtime.*; ^ 4 errors
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    jsp code not working

    Oracle Community | 1 decade ago | 807567
    org.apache.jasper.JasperException: WEB4000: Unable to compile class for JSPWEB4125: An error occurred between lines: 2 and 55 in the JSP file: /tic/migtest/admin/./include/db.jsp WEB4126: Generated servlet error: /opt/SUNWwbsvr/https-devel/ClassCache/https-staging/default-webapp/_jsps/_tic/_migtest/_admin/_list_items_jsp.java:15: replace(char,char) in java.lang.String cannot be applied to (java.lang.String,java.lang.String) str = str.replace("'", "''"); ^ 1 error
  6. 0

    JSTL Question

    Oracle Community | 1 decade ago | 807567
    org.apache.jasper.JasperException: WEB4117: This absolute uri (http://java.sun.com/jsp/jstl/core) cannot be resolved in either web.xml or the jar files deployed with this application

    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

      WEB4000: 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:756)
      2. com.iplanet.ias.web.jsp.JspServlet$JspServletWrapper.access$000(JspServlet.java:616)
      3. com.iplanet.ias.web.jsp.JspServlet.serviceJspFile(JspServlet.java:401)
      4. com.iplanet.ias.web.jsp.JspServlet.service(JspServlet.java:363)
      4 frames
    4. JavaServlet
      HttpServlet.service
      1. javax.servlet.http.HttpServlet.service(HttpServlet.java:908)
      1 frame
    5. Glassfish Core
      StandardPipeline.invoke
      1. org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:322)
      2. org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:509)
      3. org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:212)
      4. org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:509)
      5. org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:209)
      6. org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:509)
      6 frames
    6. com.iplanet.ias
      WebContainer.service
      1. com.iplanet.ias.web.connector.nsapi.NSAPIProcessor.process(NSAPIProcessor.java:161)
      2. com.iplanet.ias.web.WebContainer.service(WebContainer.java:586)
      2 frames