spring cloud 版本错Cannot resolve org.springframework.cloud:spring-cloud-starter-openfeign:unknown

时间:2024-04-11 15:24:48

Cannot resolve org.springframework.cloud:spring-cloud-starter-openfeign:unknown
说明:创建spring cloud项目后依赖错误
原因:版本错误,
如下图,有些博客说下面位置指定具体版本,就能解决,但是本人亲自指定版本号2.3.6.RELEASE仍然不行。
spring cloud 版本错Cannot resolve org.springframework.cloud:spring-cloud-starter-openfeign:unknown
本人最终找到原因了,properties标签下的版本号修改成红框上的版本就行了
spring cloud 版本错Cannot resolve org.springframework.cloud:spring-cloud-starter-openfeign:unknown
以上方法可能不一定都适用,不行就在百度其他博主的,本人菜鸟一枚,有问题欢迎指出。
总结:总的来说还是版本问题,不一定要追求最新版,不然要采坑的,