spring cloud feign微服务调用报错Request method 'POST' not supported
请求方式@GetMapping("")传参形式@RequestBody异常问题:org.springframework.web.HttpRequestMethodNotSupportedException: Request method ‘POST’ not supported解决方式:pom中引入<dependency&g
·
请求方式@GetMapping("")
传参形式@RequestBody
异常问题:org.springframework.web.HttpRequestMethodNotSupportedException: Request method ‘POST’ not supported
解决方式:
pom中引入
<dependency>
<groupId>io.github.openfeign</groupId>
<artifactId>feign-httpclient</artifactId>
</dependency>
maven更新完之后,目前版本是9.5.0
更多推荐
已为社区贡献1条内容
所有评论(0)