嚴重: Servlet.service() for servlet [jsp] threw exception
org.apache.jasper.JasperException: Unable to compile class for JSP:
An error occurred at line: [231] in the generated java file: [C:\Users\user\eclipse-workspace\.metadata\.plugins\org.eclipse.wst.server.core\tmp0\work\Catalina\localhost\TEST\org\apache\jsp\pages\page_jsp.java]
The code of method _jspService(HttpServletRequest, HttpServletResponse) is exceeding the 65535 bytes limit
Solution: replacing from
<%@ include file="test.jsp" %>
to
<jsp:include page="test.jsp" />
In Eclipse, find and replace using regular expression:
FInd: <%@\s+include\s+file(="[\w/\.]+")\s*%>
Replace: <jsp\:include page$1 />
Reference:
https://stackoverflow.com/questions/5484253/jspservice-is-exceeding-the-65535-bytes-limit