Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Dependencies could not be resolved: #11

Open
berthelrob opened this issue May 12, 2023 · 3 comments
Open

Dependencies could not be resolved: #11

berthelrob opened this issue May 12, 2023 · 3 comments

Comments

@berthelrob
Copy link

When I tried to execute the command below, I get the error:

Command:
#mvn -f /opt/notes/pom.xml package

Error:
[ERROR] Plugin org.springframework.boot:spring-boot-maven-plugin:2.5.5 or one of its dependencies could not be resolved:
Failed to read artifact descriptor for org.springframework.boot:spring-boot-maven-plugin:jar:2.5.5: Could not transfer artifact org.springframework.boot:spring-boot-maven-plugin:pom:2.5.5 from/to central (http://repo.maven.apache.org/maven2): Failed to transfer file: http://repo.maven.apache.org/maven2/org/springframework/boot/spring-boot-maven-plugin/2.5.5/spring-boot-maven-plugin-2.5.5.pom. Return code is: 501 , ReasonPhrase:HTTPS Required. -> [Help 1]

@berthelrob
Copy link
Author

Hello,
I solved this using maven 3.2.3 version

@ramazansakin
Copy link

Hi @berthelrob ,

You can check spring boot 3 & jdk21 upgrade and dockerization below if you mind :) :

https://github.com/ramazansakin/spring-boot-mysql-rest-api-tutorial/tree/master

@jguirimm
Copy link

jguirimm commented Jan 12, 2024

-Ce problème peut etre résolu just en ouvrant le fichier pom.xml en premier pour installer les dépendances nécessaires.
-Verifier les versions de dépendances sont-ils compatibles avec votre JDK.

  • Assurer que le maven a installé avec sucée les dépendances qui sont dans le pom.xml en réaffichant maven.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants