type Exception report
message Unable to compile class for JSP:
description The server encountered an internal error that prevented it from fulfilling this request.
exception
org.apache.jasper.JasperException: Unable to compile class for JSP: An error occurred at line: 4 in the jsp file: /include_checklogin.jsp user cannot be resolved 1: 2: <% 3: 4: if (user.getUserID() < 1) { 5: 6: out.print("<br><center><table width=600 cellpadding=4 cellspacing=4 bgcolor=white><td><font face=arial size=3><img src=images/ld1n.jpg align=right>You need to <a href=formlogin.jsp>login</a> or <a href=formregister.jsp?ft=1>register</a> first.<P> It's quick! We only ask four questions to get started.</font></td></table></center>"); 7: return; An error occurred at line: 17 in the jsp file: /formreservecontestentry.jsp user.initdone cannot be resolved to a type 14: <% 15: 16: 17: user.initdone = false; 18: user.setUser(user.getUserID(),false, -2); 19: 20: int contestid = 0; An error occurred at line: 18 in the jsp file: /formreservecontestentry.jsp user cannot be resolved 15: 16: 17: user.initdone = false; 18: user.setUser(user.getUserID(),false, -2); 19: 20: int contestid = 0; 21: An error occurred at line: 18 in the jsp file: /formreservecontestentry.jsp user cannot be resolved 15: 16: 17: user.initdone = false; 18: user.setUser(user.getUserID(),false, -2); 19: 20: int contestid = 0; 21: An error occurred at line: 29 in the jsp file: /formreservecontestentry.jsp user cannot be resolved 26: } 27: catch (Exception e) { 28: 29: contestid = contest.getLatestRelease(user.getUserID()); 30: 31: 32: if (contestid < 1) { An error occurred at line: 43 in the jsp file: /formreservecontestentry.jsp user cannot be resolved 40: 41: 42: String redirectURL = "../formlogin.jsp"; 43: if (user.getUserID() < 1) { 44: response.sendRedirect(redirectURL); 45: return; 46: } An error occurred at line: 120 in the jsp file: /formreservecontestentry.jsp user cannot be resolved 117: 118: 119: 120: int reservationsalreadymade = contest.usersReservedSpots(user.getUserID(), contestid); 121: 122: if (submission > 0 && reservationsalreadymade > 0) { %> 123: <SCRIPT LANGUAGE="JavaScript"> An error occurred at line: 132 in the jsp file: /formreservecontestentry.jsp user cannot be resolved 129: return; 130: } 131: 132: if (user.getMemberStatus() == 0 && (contestid != intFreeContest)) { 133: %> 134: <%@ include file="incUpgradeneededcontestfreetrial.jsp" %> 135: <% An error occurred at line: 158 in the jsp file: /formreservecontestentry.jsp user cannot be resolved 155: 156: 157: if (contest.getUserID() == 2) { 158: if (user.getWritingPromptAvailable() < 1) { %> 159: <table border=0 bgcolor=white width=500 align=center><td> 160: 161: Sorry, you have already entered two Daily Writing Prompts this week. <img src=http://www.fanstory.com/images/ldyrd4.gif align=right> An error occurred at line: 175 in the jsp file: /formreservecontestentry.jsp user cannot be resolved 172: 173: 174: if (contest.getWinnerRestriction() > 0) { 175: if (contest.contestWinningCount(contest.getWinnerRestriction(),user.getUserID()) > 0) { 176: %> 177: <table border=0 bgcolor=white width=500 align=center><td> 178: An error occurred at line: 234 in the jsp file: /formreservecontestentry.jsp user cannot be resolved 231: 232: if (contest.getContestType() == 200) { 233: 234: if (user.getNoobCount(contest.getNewArrivalDate(), "<> 200") > 0) { 235: blnNewArrivalContestQualify=false; 236: } 237: An error occurred at line: 241 in the jsp file: /formreservecontestentry.jsp user cannot be resolved 238: } else { 239: 240: 241: if (user.getNoobCount(contest.getNewArrivalDate(), "= 200") > 0) { 242: blnNewArrivalContestQualify=false; 243: } 244: An error occurred at line: 287 in the jsp file: /formreservecontestentry.jsp user cannot be resolved 284: if (WritingPromptContest > 0) { 285: 286: 287: if (user.canPublish() == false) { 288: if (user.getUserID() != 1) { 289: %> 290: <br><table align=center width=600 bgcolor=white cellpadding=5 cellspacing=5 bgcolor=#cacaca style="border: 1px solid black !important;"><td> <table border=0 align=center><td align=left><div style="background-color:yellow"><font size=3>Are You Sure?</font></div></td></table><font size=2 >You have already posted two works today. This is a writing prompt. Check the deadline to verify you can post this prior to making a reservation. As a premier member you can submit two new posts in a 24 hour period.<P><a href="Javascript:window.history.go(-1);" ><img src=images/arrowback.gif border=0 width=39 height=20>Back</a></td></table></center> An error occurred at line: 288 in the jsp file: /formreservecontestentry.jsp user cannot be resolved 285: 286: 287: if (user.canPublish() == false) { 288: if (user.getUserID() != 1) { 289: %> 290: <br><table align=center width=600 bgcolor=white cellpadding=5 cellspacing=5 bgcolor=#cacaca style="border: 1px solid black !important;"><td> <table border=0 align=center><td align=left><div style="background-color:yellow"><font size=3>Are You Sure?</font></div></td></table><font size=2 >You have already posted two works today. This is a writing prompt. Check the deadline to verify you can post this prior to making a reservation. As a premier member you can submit two new posts in a 24 hour period.<P><a href="Javascript:window.history.go(-1);" ><img src=images/arrowback.gif border=0 width=39 height=20>Back</a></td></table></center> 291: <br><br><% An error occurred at line: 312 in the jsp file: /formreservecontestentry.jsp dbUtil cannot be resolved 309: 310: 311: <% if (blnSiteSponsoredContest == false) { %> 312: The entry fee for this <%=ExtraContestDescription%> contest is <a href="/help/helpfinance.htm" onclick="NewWindow(this.href,'Charging','400','400','yes');return false"><%=dbUtil.displayFormattedDollars(contest.getSubmissionPrice()) %></a>. This can not be refunded since it is placed into the contest pool. 313: 314: <% 315: if (contest.getCommitteeCheck() == 1) { %> Stacktrace: org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:103) org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:366) org.apache.jasper.compiler.JDTCompiler.generateClass(JDTCompiler.java:494) org.apache.jasper.compiler.Compiler.compile(Compiler.java:379) org.apache.jasper.compiler.Compiler.compile(Compiler.java:354) org.apache.jasper.compiler.Compiler.compile(Compiler.java:341) org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:662) org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:364) org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:395) org.apache.jasper.servlet.JspServlet.service(JspServlet.java:339) javax.servlet.http.HttpServlet.service(HttpServlet.java:731) org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
note The full stack trace of the root cause is available in the Apache Tomcat/7.0.76 logs.