Cannot access repo.spring.io for Spring-boot exercises

后端 未结 4 807
清歌不尽
清歌不尽 2021-01-05 03:58

I\'m looking at spring-boot at the moment, but cannot access the repo.spring.io maven repository in builds.

I\'ve created the initial Gradle build file , but receive

4条回答
  •  不知归路
    2021-01-05 04:14

    repo.spring.io is no longer serving through plain http. Check your gradle (pom.xml, etc) file for http://repo.spring.io and change it to https://repo.spring.io

    The relevant maven error message is similar to this:

    [ERROR] Failed to execute goal org.apache.maven.plugins:maven-site-plugin:3.8.2:site (default-site) on project tidy-up: SiteToolException: The site descriptor cannot be resolved from the repository: ArtifactResolutionException: Unable to locate site descriptor: Could not transfer artifact org.springframework.boot:spring-boot-starter-parent:xml:site_en:2.2.4.RELEASE from/to springplugins (http://repo.spring.io/plugins-release/): Access denied to: http://repo.spring.io/plugins-release/org/springframework/boot/spring-boot-starter-parent/2.2.4.RELEASE/spring-boot-starter-parent-2.2.4.RELEASE-site_en.xml , ReasonPhrase:Forbidden.
    

提交回复
热议问题