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

一个线上环境出现异常,不是spring boot。

解决方法:

server.xml中加上maxHttpHeaderSize="8192" 

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

posted @ 2019-04-03 13:19  zhjh256  阅读(3709)  评论(0编辑  收藏  举报