org.apache.jasper.JasperException: WEB4000: Unable to compile class for JSP /opt/Webserver/https-application/ClassCache/https-application/_jsps/_frame/_app_frameview_jsp.java:8: 'class' or 'interface' expected import javax.servlet.*; ^ /opt/Webserver/https-application/ClassCache/https-application/_jsps/_frame/_app_frameview_jsp.java:9: 'class' or 'interface' expected import javax.servlet.http.*; ^ /opt/Webserver/https-application/ClassCache/https-application/_jsps/_frame/_app_frameview_jsp.java:10: 'class' or 'interface' expected import javax.servlet.jsp.*; ^ /opt/Webserver/https-application/ClassCache/https-application/_jsps/_frame/_app_frameview_jsp.java:11: 'class' or 'interface' expected import org.apache.jasper.runtime.*; ^ 4 errors

Oracle Community | 807567 | 1 decade ago
  1. 0

    javax properties and SunOne 6.1

    Oracle Community | 1 decade ago | 807567
    org.apache.jasper.JasperException: WEB4000: Unable to compile class for JSP /opt/Webserver/https-application/ClassCache/https-application/_jsps/_frame/_app_frameview_jsp.java:8: 'class' or 'interface' expected import javax.servlet.*; ^ /opt/Webserver/https-application/ClassCache/https-application/_jsps/_frame/_app_frameview_jsp.java:9: 'class' or 'interface' expected import javax.servlet.http.*; ^ /opt/Webserver/https-application/ClassCache/https-application/_jsps/_frame/_app_frameview_jsp.java:10: 'class' or 'interface' expected import javax.servlet.jsp.*; ^ /opt/Webserver/https-application/ClassCache/https-application/_jsps/_frame/_app_frameview_jsp.java:11: 'class' or 'interface' expected import org.apache.jasper.runtime.*; ^ 4 errors
  2. 0

    HTTP500 error when loading jsp in SunOne (iPlanet) 6.1 SP2

    Oracle Community | 1 decade ago | 807567
    org.apache.jasper.JasperException: WEB4000: Unable to compile class for JSP /opt/SunWebSrv/https-webinstance/ClassCache/https-webinstance/_jsps/_tree/_www_treeview_jsp.java:8: 'class' or 'interface' expected import javax.servlet.*; ^ /opt/SunWebSrv/https-webinstance/ClassCache/https-webinstance/_jsps/_tree/_www_treeview_jsp.java:9: 'class' or 'interface' expected import javax.servlet.http.*; ^ /opt/SunWebSrv/https-webinstance/ClassCache/https-webinstance/_jsps/_tree/_www_treeview_jsp.java:10: 'class' or 'interface' expected import javax.servlet.jsp.*; ^ /opt/SunWebSrv/https-webinstance/ClassCache/https-webinstance/_jsps/_tree/_www_treeview_jsp.java:11: 'class' or 'interface' expected import org.apache.jasper.runtime.*; ^ 4 errors
  3. 0

    ClassCache pages not compiling with SunOne 6.1

    Oracle Community | 1 decade ago | 807567
    org.apache.jasper.JasperException: WEB4000: Unable to compile class for JSP /opt/SunWebSrv/https-webapplication/ClassCache/https-webapplication/_jsps/_www_treeview_jsp.java:8: 'class' or 'interface' expected import javax.servlet.*; ^ /opt/SunWebSrv/https-webapplication/ClassCache/https-webapplication/_jsps/_www_treeview_jsp.java:9: 'class' or 'interface' expected import javax.servlet.http.*; ^ /opt/SunWebSrv/https-webapplication/ClassCache/https-webapplication/_jsps/_www_treeview_jsp.java:10: 'class' or 'interface' expected import javax.servlet.jsp.*; ^ /opt/SunWebSrv/https-webapplication/ClassCache/https-webapplication/_jsps/_www_treeview_jsp.java:11: '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

    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
  6. 0

    Interesting

    Oracle Community | 1 decade ago | 807596
    org.apache.jasper.JasperException: Unable to compile class for JSPNote: sun.tools.javac.Main has been deprecated. An error occurred between lines: 187 and 189 in the JSP file: /thread-flat.jsp Generated servlet error: /var/opt/SUNWappserver7/domains/software/javaforums/generated/jsp/j2ee-modules/java/_jasper/_thread_0002dflat_jsp.java:594: Undefined variable or class name: rewardManager int points = rewardManager.getPoints(thread); ^ An error occurred between lines: 189 and 190 in the JSP file: /thread-flat.jsp Generated servlet error: /var/opt/SUNWappserver7/domains/software/javaforums/generated/jsp/j2ee-modules/java/_jasper/_thread_0002dflat_jsp.java:597: Undefined variable or class name: rewardManager int pointsRewarded = rewardManager.getPointsRewarded(thread); ^ An error occurred at line: 70 in the JSP file: /thread-messagebox.jsp Generated servlet error: /var/opt/SUNWappserver7/domains/software/javaforums/generated/jsp/j2ee-modules/java/_jasper/_thread_0002dflat_jsp.java:1615: Undefined variable or class name: rewardManager int pointsForThread = rewardManager.getPoints(thread); ^ 3 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

      WEB4000: Unable to compile class for JSP /opt/Webserver/https-application/ClassCache/https-application/_jsps/_frame/_app_frameview_jsp.java:8: 'class' or 'interface' expected import javax.servlet.*; ^ /opt/Webserver/https-application/ClassCache/https-application/_jsps/_frame/_app_frameview_jsp.java:9: 'class' or 'interface' expected import javax.servlet.http.*; ^ /opt/Webserver/https-application/ClassCache/https-application/_jsps/_frame/_app_frameview_jsp.java:10: 'class' or 'interface' expected import javax.servlet.jsp.*; ^ /opt/Webserver/https-application/ClassCache/https-application/_jsps/_frame/_app_frameview_jsp.java:11: 'class' or 'interface' expected import org.apache.jasper.runtime.*; ^ 4 errors

      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:764)
      2. com.iplanet.ias.web.jsp.JspServlet$JspServletWrapper.access$000(JspServlet.java:624)
      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
      ApplicationDispatcher.forward
      1. org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:772)
      2. org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:471)
      3. org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:382)
      3 frames
    6. GWT dev
      PageContextImpl.forward
      1. org.apache.jasper.runtime.PageContextImpl.forward(PageContextImpl.java:443)
      1 frame