HTTP Status 500 – Internal Server Error


Type Exception Report

Message Unable to compile class for JSP:

Description The server encountered an unexpected condition that prevented it from fulfilling the request.

Exception

org.apache.jasper.JasperException: Unable to compile class for JSP: 

An error occurred at line: [22] in the jsp file: [/aboutus.jsp]
The method getCityTownAreaNavigationLine(HttpServletRequest) is undefined for the type Globals
19: <div class="right">
20: 
21:      <div class="breadcrumbs">
22:          <%=globals.getCityTownAreaNavigationLine(request)%> / <span><a href="/repetitors">��� ����������</a></span>
23:      </div>
24: 
25:     <h1>� �������� TopTutors</h1>


An error occurred at line: [30] in the jsp file: [/aboutus.jsp]
The method getCityLocation(HttpServletRequest) is undefined for the type Globals
27: 
28: 
29:    <h3>������ ����� ��������: <i> ��� �������� ����� �������� �����������</i> </h3>
30:      <p>�� �������� � 2014 ���� � �� ��� ����� ������ ��������� ����� ������ ��������� � �������� <%=globals.getCityLocation(request).getName2()%>,
31:      � ������ ������� ������. ��� ���� ���������� ������ ���������� ��������, ������
32:     ��� ���� ���������� � �������������� � ����� ���������. </p>
33: 


Stacktrace:
	org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:102)
	org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:213)
	org.apache.jasper.compiler.JDTCompiler.generateClass(JDTCompiler.java:509)
	org.apache.jasper.compiler.Compiler.compile(Compiler.java:397)
	org.apache.jasper.compiler.Compiler.compile(Compiler.java:367)
	org.apache.jasper.compiler.Compiler.compile(Compiler.java:351)
	org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:605)
	org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:399)
	org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:379)
	org.apache.jasper.servlet.JspServlet.service(JspServlet.java:327)
	javax.servlet.http.HttpServlet.service(HttpServlet.java:764)
	org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53)

Note The full stack trace of the root cause is available in the server logs.


Apache Tomcat/9.0.65