Open
Description
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]
Metadata
Metadata
Assignees
Labels
No labels
Activity
berthelrob commentedon May 12, 2023
Hello,
I solved this using maven 3.2.3 version
ramazansakin commentedon Dec 3, 2023
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 commentedon 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.