java.lang.IllegalArgumentException: Request header is too large的解决方法

修改tomcat中的server.xml

<Connector URIEncoding="UTF-8" connectionTimeout="20000" port="8080" protocol="HTTP/1.1" redirectPort="8443" maxHttpHeaderSize="65536" maxPostSize="4194304"/>

猜你喜欢

转载自www.cnblogs.com/xwgcxk/p/9260210.html