HTTP method names must be tokens

具体异常如下:

java.lang.IllegalArgumentException Invalid character found in method name. HTTP method names must be tokens

场景:

原请求访问路径:https://localhost:8080/insert,出现如上异常。

修改路径为:http://localhost:8080/insert,路径修改后即可成功访问。

猜你喜欢

转载自blog.csdn.net/weixin_38106322/article/details/111241787
今日推荐