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: 2 in the jsp file: /left-toolbar.jsp sitebgColor cannot be resolved to a variable 1: 2: <table width=100% border=0 cellpadding=0 cellspacing=0 bgcolor="<%=sitebgColor%>"><td width=100 valign=top bgcolor="<%=sitebgColor%>"> 3: 4: <br> 5: An error occurred at line: 2 in the jsp file: /left-toolbar.jsp sitebgColor cannot be resolved to a variable 1: 2: <table width=100% border=0 cellpadding=0 cellspacing=0 bgcolor="<%=sitebgColor%>"><td width=100 valign=top bgcolor="<%=sitebgColor%>"> 3: 4: <br> 5: An error occurred at line: 7 in the jsp file: /left-toolbar.jsp sitebgColor cannot be resolved to a variable 4: <br> 5: 6: 7: <div class="box2t"><h4 style="background-color: <%=sitebgColor%>">Status</h4> 8: <center> 9: 10: <% if (blnLoggedIn == false) { %> An error occurred at line: 10 in the jsp file: /left-toolbar.jsp blnLoggedIn cannot be resolved to a variable 7: <div class="box2t"><h4 style="background-color: <%=sitebgColor%>">Status</h4> 8: <center> 9: 10: <% if (blnLoggedIn == false) { %> 11: <!-- login --> 12: 13: An error occurred at line: 35 in the jsp file: /left-toolbar.jsp intTotalMessages cannot be resolved to a variable 32: String unAnsweredReviews = ""; 33: 34: 35: if (intTotalMessages > 0) { 36: 37: PrivateMessagesMessage = "<font color=green>" + intTotalMessages + " New Message"; 38: if (intTotalMessages > 1) { An error occurred at line: 37 in the jsp file: /left-toolbar.jsp intTotalMessages cannot be resolved to a variable 34: 35: if (intTotalMessages > 0) { 36: 37: PrivateMessagesMessage = "<font color=green>" + intTotalMessages + " New Message"; 38: if (intTotalMessages > 1) { 39: PrivateMessagesMessage+="s"; 40: } An error occurred at line: 38 in the jsp file: /left-toolbar.jsp intTotalMessages cannot be resolved to a variable 35: if (intTotalMessages > 0) { 36: 37: PrivateMessagesMessage = "<font color=green>" + intTotalMessages + " New Message"; 38: if (intTotalMessages > 1) { 39: PrivateMessagesMessage+="s"; 40: } 41: An error occurred at line: 45 in the jsp file: /left-toolbar.jsp intNoAnswerComments cannot be resolved to a variable 42: PrivateMessagesMessage+="</font>"; 43: } 44: 45: if (intNoAnswerComments > 0) { 46: unAnsweredComments = "<font color=red>" + intNoAnswerComments + " New Review"; 47: 48: if (intNoAnswerComments > 1) { An error occurred at line: 46 in the jsp file: /left-toolbar.jsp intNoAnswerComments cannot be resolved to a variable 43: } 44: 45: if (intNoAnswerComments > 0) { 46: unAnsweredComments = "<font color=red>" + intNoAnswerComments + " New Review"; 47: 48: if (intNoAnswerComments > 1) { 49: unAnsweredComments+="s"; An error occurred at line: 48 in the jsp file: /left-toolbar.jsp intNoAnswerComments cannot be resolved to a variable 45: if (intNoAnswerComments > 0) { 46: unAnsweredComments = "<font color=red>" + intNoAnswerComments + " New Review"; 47: 48: if (intNoAnswerComments > 1) { 49: unAnsweredComments+="s"; 50: } 51: An error occurred at line: 57 in the jsp file: /left-toolbar.jsp intReplies cannot be resolved to a variable 54: 55: } 56: 57: if (intReplies > 0) { 58: unAnsweredReviews = "<font color=blue>" + intReplies + " New</font>"; 59: 60: if (intReplies > 1) { An error occurred at line: 58 in the jsp file: /left-toolbar.jsp intReplies cannot be resolved to a variable 55: } 56: 57: if (intReplies > 0) { 58: unAnsweredReviews = "<font color=blue>" + intReplies + " New</font>"; 59: 60: if (intReplies > 1) { 61: unAnsweredReviews+=" Replies"; An error occurred at line: 60 in the jsp file: /left-toolbar.jsp intReplies cannot be resolved to a variable 57: if (intReplies > 0) { 58: unAnsweredReviews = "<font color=blue>" + intReplies + " New</font>"; 59: 60: if (intReplies > 1) { 61: unAnsweredReviews+=" Replies"; 62: } else { 63: unAnsweredReviews+=" Reply"; An error occurred at line: 85 in the jsp file: /left-toolbar.jsp intTotalMessages cannot be resolved to a variable 82: 83: </center> 84: <b> 85: <% if (intTotalMessages > 0) { %> 86: 87: <% if (user.getProfilePreference() != 5) { %> 88: <center><a href=mymessages.jsp><%= PrivateMessagesMessage %></a></center><br> An error occurred at line: 95 in the jsp file: /left-toolbar.jsp intNoAnswerComments cannot be resolved to a variable 92: 93: <% } %> 94: <% } %> 95: <% if (intNoAnswerComments > 0) { %> 96: 97: 98: <% if (user.getProfilePreference() != 5) { %> An error occurred at line: 105 in the jsp file: /left-toolbar.jsp intReplies cannot be resolved to a variable 102: <% } %> 103: 104: <% } %> 105: <% if (intReplies > 0) { %> 106: 107: <% if (user.getProfilePreference() != 5) { %> 108: <center><a href=myreplies.jsp><%= unAnsweredReviews %></a></center><br> An error occurred at line: 115 in the jsp file: /left-toolbar.jsp blnLoggedIn cannot be resolved to a variable 112: <% } %> 113: </b> 114: <center> 115: <% if (blnLoggedIn != false) { %> 116: <table border=0 width=75><td align=center><span name=md id=md><font color=black size=2><%=strMDAmt%></font></a></span> 117: <br><font size=1><a href="/help/helpfinance.htm" onclick="NewWindow(this.href,'Charging','400','400','yes');return false"><font color=blue>Information</font></a> </font> 118: </td></table> An error occurred at line: 116 in the jsp file: /left-toolbar.jsp strMDAmt cannot be resolved to a variable 113: </b> 114: <center> 115: <% if (blnLoggedIn != false) { %> 116: <table border=0 width=75><td align=center><span name=md id=md><font color=black size=2><%=strMDAmt%></font></a></span> 117: <br><font size=1><a href="/help/helpfinance.htm" onclick="NewWindow(this.href,'Charging','400','400','yes');return false"><font color=blue>Information</font></a> </font> 118: </td></table> 119: <P> An error occurred at line: 204 in the jsp file: /left-toolbar.jsp sitebgColor cannot be resolved to a variable 201: <!-- contests --> 202: 203: 204: <div class="box2t"><h4 style="background-color: <%=sitebgColor%>">Contests</h4> 205: 206: 207: <table border=0 width=155 align=center><td> An error occurred at line: 208 in the jsp file: /left-toolbar.jsp stats.ContestList1 cannot be resolved to a type 205: 206: 207: <table border=0 width=155 align=center><td> 208: <%=stats.ContestList1%> 209: 210: <center><a href=contests.jsp><img src=images/btnMrCnts.gif border=0></a></center> 211: </td></table> An error occurred at line: 221 in the jsp file: /left-toolbar.jsp sitebgColor cannot be resolved to a variable 218: <!-- classes --> 219: 220: 221: <div class="box2t"><h4 style="background-color: <%=sitebgColor%>">Writing Classes</h4> 222: 223: 224: <table border=0 width=155 align=center><td> An error occurred at line: 227 in the jsp file: /left-toolbar.jsp stats.ClassesTotal cannot be resolved to a type 224: <table border=0 width=155 align=center><td> 225: <% 226: 227: int intclasstotal = stats.ClassesTotal; 228: if (intclasstotal > 6) { 229: intclasstotal = 6; 230: } An error occurred at line: 236 in the jsp file: /left-toolbar.jsp stats.arrClassesTitleURL cannot be resolved to a type 233: 234: 235: %> 236: <a href="<%=stats.arrClassesTitleURL[intClasses]%>"><b><font color=blue size=2><%=stats.arrClassesTitleClean[intClasses]%></font></b></a> 237: <br><font size=1>Class Begins: <%=stats.arrClassesDeadlineClean[intClasses]%></font><br><br> 238: <% 239: } An error occurred at line: 236 in the jsp file: /left-toolbar.jsp stats.arrClassesTitleClean cannot be resolved to a type 233: 234: 235: %> 236: <a href="<%=stats.arrClassesTitleURL[intClasses]%>"><b><font color=blue size=2><%=stats.arrClassesTitleClean[intClasses]%></font></b></a> 237: <br><font size=1>Class Begins: <%=stats.arrClassesDeadlineClean[intClasses]%></font><br><br> 238: <% 239: } An error occurred at line: 237 in the jsp file: /left-toolbar.jsp stats.arrClassesDeadlineClean cannot be resolved to a type 234: 235: %> 236: <a href="<%=stats.arrClassesTitleURL[intClasses]%>"><b><font color=blue size=2><%=stats.arrClassesTitleClean[intClasses]%></font></b></a> 237: <br><font size=1>Class Begins: <%=stats.arrClassesDeadlineClean[intClasses]%></font><br><br> 238: <% 239: } 240: %> An error occurred at line: 242 in the jsp file: /left-toolbar.jsp stats.ClassesTotal cannot be resolved to a type 239: } 240: %> 241: <font size=2> 242: <%=stats.ClassesTotal%> classes available. <a href=http://classic.fanstory.com/writingclasses><font color=blue>Click here</font></a> locate a class and to learn more.</font> 243: </td></table> 244: </div> 245: <!-- contests --> An error occurred at line: 253 in the jsp file: /left-toolbar.jsp sitebgColor cannot be resolved to a variable 250: <br> 251: <!-- rankings --> 252: 253: <div class="box2t"><h4 style="background-color: <%=sitebgColor%>">Rank</h4> 254: 255: 256: <% An error occurred at line: 346 in the jsp file: /left-toolbar.jsp sitebgColor cannot be resolved to a variable 343: 344: 345: <br> 346: <div class="box2t"><h4 style="background-color: <%=sitebgColor%>">Recommended</h4> 347: 348: <ul> 349: An error occurred at line: 360 in the jsp file: /left-toolbar.jsp sitebgColor cannot be resolved to a variable 357: <br> 358: <!-- categories --> 359: 360: <div class="box2t"><h4 style="background-color: <%=sitebgColor%>">Categories</h4> 361: 362: <ul> 363: <a href=liststory.jsp?sel=12 class=link><font color=blue>Fantasy</font></a><br> An error occurred at line: 380 in the jsp file: /left-toolbar.jsp sitebgColor cannot be resolved to a variable 377: <br> 378: <!-- write --> 379: 380: <div class="box2t"><h4 style="background-color: <%=sitebgColor%>">Write</h4> 381: 382: <ul> 383: <a href=formaddstory.jsp class=link><font color=blue>Short Story</font></a><br> An error occurred at line: 393 in the jsp file: /left-toolbar.jsp sitebgColor cannot be resolved to a variable 390: </td> 391: <td width=5><br><img src=/images/spacer.gif width=10></td> 392: 393: <td valign=top bgcolor=<%=sitebgColor%>> An error occurred at line: 368 in the jsp file: /listbookcomments.jsp stats cannot be resolved 365: String tempsig = ""; 366: 367: try { 368: storeCache = stats.getSig(comment.getCommentorUserID()); 369: 370: 371: An error occurred at line: 379 in the jsp file: /listbookcomments.jsp stats cannot be resolved 376: if (storeCache == null) { 377: userinfo.setUser(comment.getCommentorUserID(),false,5); 378: tempsig = userinfo.getSig(); 379: stats.setSig(comment.getCommentorUserID(), tempsig); 380: tempsig = stats.fixNames(tempsig,comment.getCommentorUserID(),user.browserHeight,user.getProfilePreference()); 381: out.print(tempsig); 382: An error occurred at line: 380 in the jsp file: /listbookcomments.jsp stats cannot be resolved 377: userinfo.setUser(comment.getCommentorUserID(),false,5); 378: tempsig = userinfo.getSig(); 379: stats.setSig(comment.getCommentorUserID(), tempsig); 380: tempsig = stats.fixNames(tempsig,comment.getCommentorUserID(),user.browserHeight,user.getProfilePreference()); 381: out.print(tempsig); 382: 383: } else { An error occurred at line: 389 in the jsp file: /listbookcomments.jsp stats cannot be resolved 386: if (storeCache.length() < 620) { 387: userinfo.setUser(comment.getCommentorUserID(),false,5); 388: tempsig = userinfo.getSig(); 389: stats.setSig(comment.getCommentorUserID(), tempsig); 390: tempsig = stats.fixNames(tempsig,comment.getCommentorUserID(),user.browserHeight,user.getProfilePreference()); 391: out.print(tempsig); 392: } else { An error occurred at line: 390 in the jsp file: /listbookcomments.jsp stats cannot be resolved 387: userinfo.setUser(comment.getCommentorUserID(),false,5); 388: tempsig = userinfo.getSig(); 389: stats.setSig(comment.getCommentorUserID(), tempsig); 390: tempsig = stats.fixNames(tempsig,comment.getCommentorUserID(),user.browserHeight,user.getProfilePreference()); 391: out.print(tempsig); 392: } else { 393: An error occurred at line: 394 in the jsp file: /listbookcomments.jsp stats cannot be resolved 391: out.print(tempsig); 392: } else { 393: 394: storeCache = stats.fixNames(storeCache,comment.getCommentorUserID(),user.browserHeight,user.getProfilePreference()); 395: out.print(storeCache); 396: } 397: } An error occurred at line: 549 in the jsp file: /listbookcomments.jsp stats cannot be resolved 546: <% if (replies.getCommentorUserID() == story.getAuthorID()) { %> 547: reply by the author on <%=replies.getSubmissionDate() %> 548: <% } else { %> 549: reply by <%=stats.getName(replies.getCommentorUserID()) %> on <%=replies.getSubmissionDate() %></font> 550: <% } %> 551: <ul> 552: <font size=2><%= replies.getComment()%></font></ul> An error occurred at line: 4 in the jsp file: /topad2.jsp ad2 cannot be resolved 1: <table border=0 bgcolor=#dadada style="border: 1px solid black !important;"> <td> 2: 3: <% 4: ad2.setPremierAD(); 5: 6: 7: if (ad2.getID() > 0) { An error occurred at line: 7 in the jsp file: /topad2.jsp ad2 cannot be resolved 4: ad2.setPremierAD(); 5: 6: 7: if (ad2.getID() > 0) { 8: %> 9: 10: An error occurred at line: 12 in the jsp file: /topad2.jsp ad2 cannot be resolved 9: 10: 11: 12: <a href=displaystory.jsp?id=<%=ad2.getID()%>> <font color=blue size=2> 13: 14: <%=ad2.getStoryTitle()%> 15: An error occurred at line: 14 in the jsp file: /topad2.jsp ad2 cannot be resolved 11: 12: <a href=displaystory.jsp?id=<%=ad2.getID()%>> <font color=blue size=2> 13: 14: <%=ad2.getStoryTitle()%> 15: 16: </a></font><font size=2> 17: An error occurred at line: 19 in the jsp file: /topad2.jsp ad2 cannot be resolved 16: </a></font><font size=2> 17: 18: <br> 19: <font size=2><% if (ad2.getNovelID() > 0) { %> 20: <%= ad2.getNovelDescription()%> 21: <% } else { %> 22: <%=ad2.getStoryDescription()%> An error occurred at line: 20 in the jsp file: /topad2.jsp ad2 cannot be resolved 17: 18: <br> 19: <font size=2><% if (ad2.getNovelID() > 0) { %> 20: <%= ad2.getNovelDescription()%> 21: <% } else { %> 22: <%=ad2.getStoryDescription()%> 23: An error occurred at line: 22 in the jsp file: /topad2.jsp ad2 cannot be resolved 19: <font size=2><% if (ad2.getNovelID() > 0) { %> 20: <%= ad2.getNovelDescription()%> 21: <% } else { %> 22: <%=ad2.getStoryDescription()%> 23: 24: <% } %> 25: <br> An error occurred at line: 47 in the jsp file: /siteadSame.jsp ad cannot be resolved 44: </tr> 45: <tr> 46: 47: <td valign=top colspan=2><font face=arial size=2><center><%= ad.getBannerAD()%></font></td> 48: </tr> 49: </table> 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.