HTTP Status 500 - Unable to compile class for JSP:


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: 190 in the jsp file: /writingclasses.jsp
user cannot be resolved
187: 
188: }
189:   if (frccurr == 0) { 
190:   if (user.getCurrency() > 0) {
191:    
192: 
193: country = user.getCurrency();


An error occurred at line: 193 in the jsp file: /writingclasses.jsp
user cannot be resolved
190:   if (user.getCurrency() > 0) {
191:    
192: 
193: country = user.getCurrency();
194: 
195: } }
196: 


An error occurred at line: 13 in the jsp file: /incClassesAuto.jsp
stats.ClassListing cannot be resolved to a type
10: <%
11: 	
12: 
13: if (stats.ClassListing.length() < 5) { 
14: 
15: String strCache = "";
16:                                          


An error occurred at line: 114 in the jsp file: /incClassesAuto.jsp
stats.ClassListing cannot be resolved to a type
111: 
112: 
113: 
114: stats.ClassListing = "ClassListing.txt"; 
115: stats.writeCache("ClassListing.txt",strCache);
116:  out.print (strCache);
117:  


An error occurred at line: 115 in the jsp file: /incClassesAuto.jsp
stats cannot be resolved
112: 
113: 
114: stats.ClassListing = "ClassListing.txt"; 
115: stats.writeCache("ClassListing.txt",strCache);
116:  out.print (strCache);
117:  
118: } else {%>


An error occurred at line: 303 in the jsp file: /writingclasses.jsp
user cannot be resolved
300: <br><br><LI><b>Great Value</b>. Four week classes are only <%=currDollar%><%=AmtClass%><%=currDisplay%>. Compare and you will find that classes online elsewhere are hundreds more and do not offer the small classroom size, personal attention, and benefits provided by being a school that is part of FanStory.com.
301: </ul>
302: <ul>
303: <% if (user.getMemberStatus() < 1) { %>
304: <b>Free Writer Membership</b>.<img src=images/spcl.png align=left hspace=3> Provided with your class is a free two month membership to the FanStory.com writing community. This bonus gives you the ability to share share your writing with the community while participating in your classroom. Get feedback for everything you write, join free writing contests, and get motivated. <a href="index1.jsp" onclick="NewWindow(this.href,'Charging','600','500','yes');return false">Details</a> on your free membership for writers.
305: <% } else { %>
306: <!--


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.


Apache Tomcat/7.0.76