java.lang.IllegalArgumentException: Request header is too large问题解决

这个问题出在tomcat,一般的服务器像tomcat都有默认大小,出现上述问题就是传输的参数超过了默认大小,

处理办法:找到tomcat文件,打开conf下的server.xml中,修改<Connector connectionTimeout="20000" port="8080" protocol="HTTP/1.1" redirectPort="8443"  maxPostSize="0" /> 

中加上maxHttpHeaderSize ="102400"即可解决

猜你喜欢

转载自blog.csdn.net/m0_37679452/article/details/78951107