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

Oracle Community | 807596 | 1 decade ago
  1. 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
  2. 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
  3. 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
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

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

    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: 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

      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
      ApplicationDispatcher.forward
      1. org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:723)
      2. org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:444)
      3. org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:363)
      3 frames
    6. com.jivesoftware.webwork
      ServletDispatcher.service
      1. com.jivesoftware.webwork.dispatcher.ServletDispatcher.service(ServletDispatcher.java:349)
      1 frame
    7. JavaServlet
      HttpServlet.service
      1. javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
      1 frame
    8. Glassfish Core
      ApplicationFilterChain.doFilter
      1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247)
      2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)
      2 frames
    9. com.sun.jive
      SAMSAuthFilter.doFilter
      1. com.sun.jive.action.SAMSAuthFilter.doFilter(SAMSAuthFilter.java:68)
      1 frame
    10. Glassfish Core
      ApplicationFilterChain.doFilter
      1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:213)
      2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)
      2 frames
    11. com.jivesoftware.base
      PresenceFilter.doFilter
      1. com.jivesoftware.base.presence.PresenceFilter.doFilter(PresenceFilter.java:86)
      1 frame
    12. Glassfish Core
      ApplicationFilterChain.doFilter
      1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:213)
      2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)
      2 frames
    13. com.jivesoftware.util
      SetCharacterEncodingFilter.doFilter
      1. com.jivesoftware.util.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:40)
      1 frame