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: 99 in the jsp file: /jsps/SHOREW/AgentTop.jsp
A_CD_EXTREF cannot be resolved to a variable
96: 				<%}%>
97: 				<% Hashtable agentTopCriteria = new Hashtable();
98: 					agentTopCriteria.put("LSC_CD_PRESENTATION", "P");
99: 					agentTopCriteria.put("A_EXTREF_SOURCE", A_CD_EXTREF);
100: 					agentTopCriteria.put("pa", hash.getString("A_CD_AGENT"));
101: 					agentTopCriteria.put("sc", "lsearch_amt_search_price+DESC");
102: 					agentTopCriteria.put("sd", "SA2");


An error occurred at line: 106 in the jsp file: /jsps/SHOREW/AgentTop.jsp
criteria cannot be resolved to a variable
103: 					agentTopCriteria.put("nts", "30");
104: 				%>
105: 				<%if (hash.getInt("ASD_CURRENT_LISTING_CNT") > 0) { %>
106: 				<li id="listings_link"><a href="<%= Public_Util.buildSeoSearchLinkFromCriteria(hash.getString(Globals._SITE), criteria, Public_Util._SEO_TAG_SCHEME_VALUE_NAME) %>" title="<%=OurorMy%> Listings"><span><%=OurorMy%> Listings</span></a></li>
107: 				<%}%>
108: 				<%if (!(hash.getString("AA_FG_4").equals("N"))) { %>
109: 				<%if (hash.getInt("ASD_SOLD_LISTING_CNT") > 0) { 


An error occurred at line: 115 in the jsp file: /jsps/SHOREW/AgentTop.jsp
criteria cannot be resolved to a variable
112: 					agentTopCriteria.put("L_LISTINGSTATUS", "Sold");
113: 					agentTopCriteria.put("sc", "lsale_dt_sale+DESC");
114: 				%>
115: 				<li id="sold_listings_link"><a href="<%= Public_Util.buildSeoSearchLinkFromCriteria(hash.getString(Globals._SITE), criteria, Public_Util._SEO_TAG_SCHEME_VALUE_NAME) %>" title="Recent Solds"><span>Recent Solds</span></a></li>
116: 				<%}}%>
117: 				<li id="search_link"><a href="/vp/SearchServlet?SITE=SHOREW&amp;ScreenID=AGENT_SEARCH_LISTING&amp;ListingSearch=true&amp;pres_agent=<%= hash.getString("A_CD_AGENT") %>" title="Property Search"><span>Property Search</span></a></li>
118: 				<li id="selling_link"><a href="/vp/AgentServlet?ScreenID=AgentPageShell&amp;SITE=SHOREW&amp;pres_agent=<%= hash.getString("A_CD_AGENT") %>&amp;PageInsert=seller_guide" title="Selling"><span>Selling</span></a></li>


Stacktrace:
	org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:103)
	org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:198)
	org.apache.jasper.compiler.JDTCompiler.generateClass(JDTCompiler.java:449)
	org.apache.jasper.compiler.Compiler.compile(Compiler.java:361)
	org.apache.jasper.compiler.Compiler.compile(Compiler.java:336)
	org.apache.jasper.compiler.Compiler.compile(Compiler.java:323)
	org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:585)
	org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:363)
	org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:401)
	org.apache.jasper.servlet.JspServlet.service(JspServlet.java:345)
	javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
	org.vp.servlets.LoginServlet2.runService(LoginServlet2.java:580)
	org.vp.servlets.LoginServlet2.doGet(LoginServlet2.java:587)
	javax.servlet.http.HttpServlet.service(HttpServlet.java:622)
	javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
	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/8.0.32 (Ubuntu) logs.


Apache Tomcat/8.0.32 (Ubuntu)