为什么我有来自回购弹簧的HTTP 403?

2022-09-01 13:52:06

我有一个jhipster项目,几个月来,它与gitlab一起部署在heroku上

从昨天开始,我无法部署新版本,因为我有这个错误

FAILURE: Build failed with an exception.
32 * What went wrong:
33 A problem occurred configuring root project 'yvidya'.
34 > Could not resolve all artifacts for configuration ':classpath'.
35    > Could not resolve io.spring.gradle:propdeps-plugin:0.0.10.RELEASE.
36      Required by:
37          project :
38       > Could not resolve io.spring.gradle:propdeps-plugin:0.0.10.RELEASE.
39          > Could not get resource 'http://repo.spring.io/plugins-    release/io/spring/gradle/propdeps-plugin/0.0.10.RELEASE/propdeps-plugin-0.0.10.RELEASE.pom'.
40             > Could not GET 'http://repo.spring.io/plugins-release/io/spring/gradle/propdeps-plugin/0.0.10.RELEASE/propdeps-plugin-0.0.10.RELEASE.pom'. Received status code 403 from server:     Forbidden

有谁知道为什么这个错误?以及如何解决它?


答案 1

打开 build.gradle 文件,并将 http 中的 spring maven repository URL 替换为 https


答案 2

此问题与已弃用的存储库链接有关。请使用Spring repo URL进行更新。httphttps


推荐