解决Failed to read artifact descriptor for org.springframework.cloud:spring-cloud-starter-eureka-serve

Disclaimer: This article is a blogger original article, follow the CC 4.0 BY-SA copyright agreement, reproduced, please attach the original source link and this statement.
This link: https://blog.csdn.net/a549654065/article/details/102763890

Today Springcloud build project, met POM.xml file Failed to read artifact descriptor for org.springframework.cloud:spring-cloud-starter-eureka-server:jar:unknow error

View own dependencies

        <!--eureka-server服务端 -->
        <dependency>
            <groupId>org.springframework.cloud</groupId>
            <artifactId>spring-cloud-starter-eureka-server</artifactId>
        </dependency>

The following modifications to the above-described dependent

        <!--eureka-server服务端 -->
        <dependency>
            <groupId>org.springframework.cloud</groupId>
            <artifactId>spring-cloud-netflix-eureka-server</artifactId>
        </dependency>

The reason may be SpringCloud version of the update, do not rely on the original, this time you can query Maven repository or rely on the official website for the latest

Guess you like

Origin blog.csdn.net/a549654065/article/details/102763890