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: [144] in the jsp file: [/zh/../includes/message/message.jsp]
The method buildOption(boolean, int, String, String) in the type CustomerServiceMessage.MessageType is not applicable for the arguments (boolean, int)
141: 					<td class="class2">
142: 								<select name="type">
143: 									<option value=""><%=Translation.getTranslation("Please select the message type",url.language,"florist")%></option>
144: 									<%=messageType.buildOption(true,messageType.typeLevel)%>
145: 								</select>
146: 					
147: 						<%	


Stacktrace:
	org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:102)
	org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:214)
	org.apache.jasper.compiler.JDTCompiler.generateClass(JDTCompiler.java:600)
	org.apache.jasper.compiler.Compiler.compile(Compiler.java:381)
	org.apache.jasper.compiler.Compiler.compile(Compiler.java:351)
	org.apache.jasper.compiler.Compiler.compile(Compiler.java:335)
	org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:597)
	org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:398)
	org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:383)
	org.apache.jasper.servlet.JspServlet.service(JspServlet.java:331)
	javax.servlet.http.HttpServlet.service(HttpServlet.java:583)
	org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:51)

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


Apache Tomcat/8.5.99