1. 程式人生 > >解決 Invalid character found in method name. HTTP method names must be tokens 異常信息

解決 Invalid character found in method name. HTTP method names must be tokens 異常信息

img cte rac 9.png tom cat 解決方法 ica ade

技術分享圖片

一個線上環境出現異常,不是spring boot。

解決方法:

server.xml中加上maxHttpHeaderSize="8192"

springBoot 1.x則是在application.properties文件中配置【server.tomcat.max-http-header-size=8192】

解決 Invalid character found in method name. HTTP method names must be tokens 異常信息