Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

why I have HTTP 403 from repo spring?

I have a jhipster project which deploy on heroku with gitlab since several months

Since yesterday, I can not deploy new version because I have this error

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

Anyone know why this error? and how solve it?

like image 533
user1450740 Avatar asked Jan 16 '20 10:01

user1450740


People also ask

What is spring repository?

Spring @Repository annotation is used to indicate that the class provides the mechanism for storage, retrieval, search, update and delete operation on objects.


2 Answers

Open your build.gradle file and replace the spring maven repository URL from http with https

like image 193
Slartibartfast Avatar answered Oct 16 '22 12:10

Slartibartfast


The issue is related to the deprecated repository link. Please update http with https of Spring repo URL.

like image 21
Abhishek Shah Avatar answered Oct 16 '22 13:10

Abhishek Shah