且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

找不到 Maven Spring boot 和 Spring Cloud pom 依赖项

更新时间:2022-01-26 23:56:36

似乎您缺少 RELEASE 存储库

Seems you are missing the RELEASE repo

<repository>
    <id>spring-repo</id>
    <name>Spring Repository</name>
    <url>https://repo.spring.io/release</url>
    <snapshots>
       <enabled>false</enabled>
    </snapshots>
</repository>

根据 this 博客,应该使用 Maven 中心来处理 Spring 依赖项.https://repo.spring.io/release 以后也可以屏蔽.

As per this blog, one should be using the maven central for Spring dependencies. https://repo.spring.io/release can also be blocked in the future.

<repository>
    <id>maven-central</id>
    <name>Maven Centrail</name>
    <url>https://repo1.maven.org/maven2</url>
    <snapshots>
       <enabled>false</enabled>
    </snapshots>
</repository>