手抄报 安全手抄报 手抄报内容 手抄报图片 英语手抄报 清明节手抄报 节约用水手抄报

tomcat报错请求的代码超过了65535字节限制。

时间:2024-10-12 09:20:06

1、操作程序,从tomcat的日志文件里查到报错信息如下:org.apache.jasper.JasperException: Unable to compile class for JSP:A荏鱿胫协n error occurred at line: 158 in the generated java fileThe code of method _jspService(HttpServletRequest, HttpServletResponse) is exceeding the 65535 bytes limit.

2、这是因为tocmat请求的url地址过长导致的,修改tomcat的web.xml文件后,程序恢复正常

3、在:<init-param><param-name>ena水瑞侮瑜blePooling媪青怍牙</param-name><param-value>false</param-value></init-param>下添加<init-param><param-name>mappedfile</param-name><param-value>false</param-value></init-param>重启tomat即可恢复正常

© 手抄报圈