项目启动后,浏览器访问时报了如下错误
网上查找了一下,可能出现原因有:
1.方法名成含有非法字符
2.配置出现冲突。详情请参考java.lang.IllegalArgumentException: Invalid character found in method name. HTTP method names mus... - 简书
3.https访问http协议导致
我的原因就是第三种。
将https改为http就好了。
项目启动后,浏览器访问时报了如下错误
网上查找了一下,可能出现原因有:
1.方法名成含有非法字符
2.配置出现冲突。详情请参考java.lang.IllegalArgumentException: Invalid character found in method name. HTTP method names mus... - 简书
3.https访问http协议导致
我的原因就是第三种。
将https改为http就好了。