解决Note: further occurrences of HTTP request parsing errors will be logged...

242 阅读1分钟

错误信息

org.apache.coyote.http11.Http11Processor.service 解析 HTTP 请求 header 错误 Note: further occurrences of HTTP request parsing errors will be logged at DEBUG level.

原因

get提交的数据过大,超过了默认值。

解决方案

    <Connector port="8080" protocol="HTTP/1.1"
               connectionTimeout="20000"
               redirectPort="8443" maxHttpHeaderSize= "10240"/>