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: 135 in the jsp file: /jsps/REO/WL_CONTACT_OFFICE.jsp
siteDOMAIN cannot be resolved to a variable
132: 					<input type="hidden" name="<%= Globals._CCA_V4C %>" id="cca_v4c" value="Company"/>
133: 					<!--<input type="hidden" name="<%= Globals._CC_CONTACTSOURCE %>" value="Company Site - <%= domain %>"/>-->
134: 					<input type="hidden" name="<%= Globals._CC_CONTACTSOURCE %>" id="cc_contactsource" value=""/>
135: 					<input type="hidden" name="<%= Globals._CCA_V2C %>" value="<%= siteDOMAIN %>"/>
136: 					<% if ((cd_Contact!=0) && ((hash.getInt(Globals._CC_CD_MARKETINGENTITY))>0)) { %>
137: 						<input type="hidden" name="<%= Globals._AGENT_BRANDED_EMAIL %>" value="Y"/>
138: 					<% } else { %>


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.ListingServlet.runService(ListingServlet.java:339)
	org.vp.servlets.ListingServlet.doGet(ListingServlet.java:351)
	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)