网上很多人在使用的feign时在pom.xml中的依赖为:
<!-- SpringCloud 整合 Feign -->
<dependency>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-starter-feign</artifactId>
</dependency>
但是在我个人的使用过程中始终没能成功,Maven的DeDependencies一直显示为:
spring-cloud-starter-feign:unknow
经过自己翻阅官方文档中发现这一句:
To include Feign in your project use the starter with group org.springframework.cloud and artifact id spring-cloud-starter-openfeign. See the Spring Cloud Project page for details on setting up your build system with the current Spring Cloud Release Train.
---------------------
作者:job_wangwei
来源:CSDN
原文:https://blog.csdn.net/weixin_42740268/article/details/84822260
版权声明:本文为博主原创文章,转载请附上博文链接!