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

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips

Do you know how to solve this issue? Write a tip to help other users and build your expert profile.

Solutions on the web

via Oracle Community by 807596, 1 year ago
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
via Oracle Community by 807573, 1 year ago
WEB4000: Unable to compile class for JSP
via Oracle Community by 807567, 4 months ago
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
via Oracle Community by 807567, 4 months ago
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
via Oracle Community by 807567, 4 months ago
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
via Oracle Community by 807581, 1 year ago
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
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 com.iplanet.ias.web.jsp.JspServlet$JspServletWrapper.loadJSP(JspServlet.java:641)
at com.iplanet.ias.web.jsp.JspServlet$JspServletWrapper.access$000(JspServlet.java:501)
at com.iplanet.ias.web.jsp.JspServlet.serviceJspFile(JspServlet.java:333)
at com.iplanet.ias.web.jsp.JspServlet.service(JspServlet.java:287)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:723)
at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:444)
at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:363)
at com.jivesoftware.webwork.dispatcher.ServletDispatcher.service(ServletDispatcher.java:349)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247)
at com.sun.jive.action.SAMSAuthFilter.doFilter(SAMSAuthFilter.java:68)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:213)
at com.jivesoftware.base.presence.PresenceFilter.doFilter(PresenceFilter.java:86)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:213)
at com.jivesoftware.util.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:40)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 1 year ago

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.