Tomcat中 打开conf文件夹下catalina.properties文件 在底部打开下面注释行即可 tomcat.util.http.parser.HttpParser.requestTargetAllow=|{}