Project build error: Non-resolvable import POM
<dependencyManagement>
<dependencies>
<dependency>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-dependencies</artifactId>
<version>Dalston.RC1</version>
<type>pom</type>
<scope>import</scope>
</dependency>
</dependencies>
</dependencyManagement>
报如下异常:
Project build error: Non-resolvable import POM: Failure to transfer org.springframework.cloud:spring-cloud-dependencies:pom:Dalston.RC1 from https://repo.spring.io/milestone was cached in the local repository, resolution will not be reattempted until the update interval of spring-milestones has elapsed or updates are forced. Original error: Could not transfer artifact org.springframework.cloud:spring-cloud-dependencies:pom:Dalston.RC1 from/to spring-milestones (https://repo.spring.io/milestone): Received fatal alert: protocol_version to https://repo.spring.io/milestone/org/springframework/cloud/spring-cloud-dependencies/Dalston.RC1/spring-cloud-dependencies-Dalston.RC1.pom
去maven仓库查了一下, https://mvnrepository.com/artifact/org.springframework.cloud/spring-cloud-dependencies,并没有Dalston.RC1这个version,参照帖子建议,改成Dalston.SR4,完美解决。
<dependencyManagement>
<dependencies>
<dependency>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-dependencies</artifactId>
<version>Dalston.SR4</version>
<type>pom</type>
<scope>import</scope>
</dependency>
</dependencies>
</dependencyManagement>