Skip to content

Dependencies could not be resolved: #11

Open
@berthelrob

Description

@berthelrob

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]

Activity

berthelrob

berthelrob commented on May 12, 2023

@berthelrob
Author

Hello,
I solved this using maven 3.2.3 version

ramazansakin

ramazansakin commented on Dec 3, 2023

@ramazansakin

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

jguirimm commented on Jan 12, 2024

@jguirimm

-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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      Dependencies could not be resolved: · Issue #11 · callicoder/spring-boot-mysql-rest-api-tutorial