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: [53] in the jsp file: [/entrant.jsp] The method calculateAge(Date) in the type CalendarUtil is not applicable for the arguments (Date, null) 50: java.util.Date bdate = 51: (java.util.Date)ename.getCellObject(EName.F_BIRTHDATE); 52: if (bdate != null) 53: age = CalendarUtil.calculateAge(bdate, null); 54: } 55: Entrant prevEntr = null; 56: Entrant nextEntr = null; 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:531) org.apache.jasper.compiler.Compiler.compile(Compiler.java:398) org.apache.jasper.compiler.Compiler.compile(Compiler.java:368) org.apache.jasper.compiler.Compiler.compile(Compiler.java:352) org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:603) 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:623) 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.