1. 程式人生 > >MAVEN奇葩問題was cached in the local repository, resolution will not be reattempted until

MAVEN奇葩問題was cached in the local repository, resolution will not be reattempted until

[ERROR] Non-resolvable import POM: Failure to find org.springframework.cloud:spring-cloud-dependencies:pom:Finchley.M7 in https://maven.aliyun.com/repository/public was cached in the local repository, resolution will not be reattempted until the update interval of alimaven has elapsed or updates are forced @ line 32, column 19
@

今天在弄註冊中心的時候,無端端問題又被卡了3個小時,所以最討厭的不是寫程式碼,最鬧心的就是需要經驗來解決的問題,不碰壁就不記得,碰了也容易忘記,記錄下

針對spring cloud快速有療效

<repositories>
    <repository>
      <id>spring-milestones</id>
      <name>Spring Milestones</name>
      <url>https://repo.spring.io/libs-milestone</url>
      <snapshots>
        <enabled>false</enabled>
      </snapshots>
    </repository>
  </repositories>