一。可能是没有指定版本号。
<dependency>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-starter-openfeign</artifactId>
</dependency>
去maven官网找自己需要的版本号–> https://mvnrepository.com/
二。maven仓库下载依赖失效。
右键项目->maven->open"settings.xml"
修改为官方镜像
<mirror>
<id>mirrorId</id>
<mirrorOf>central</mirrorOf>
<name>Human Readable Name </name>
<url>https://repo1.maven.org/maven2/</url>
</mirror>