feignRequest$Options错误

feign/Request$Options错误

原因

导错包了,导致某些模块缺失。spring cloud 集成feign现在需要导入包spring-cloud-starter-openfeign

解决

导入正确的spring-cloud-starter-openfeign包

<!-- https://mvnrepository.com/artifact/org.springframework.cloud/spring-cloud-starter-openfeign -->
<dependency>
    <groupId>org.springframework.cloud</groupId>
    <artifactId>spring-cloud-starter-openfeign</artifactId>
</dependency>
posted @ 2021-07-22 17:38  鸭梨的药丸哥  阅读(35)  评论(0)    收藏  举报  来源