Home > front end >  Intellij Maven dependency not resolved while following guide
Intellij Maven dependency not resolved while following guide

Time:02-14

I am currently trying to follow this guide and every time I try to run the test code I am getting this error:

[ERROR] Failed to execute goal on project MyBot: Could not resolve dependencies for project org.example:MyBot:jar:1.0-SNAPSHOT: org.javacord:javacord:jar:3.4.0 was not found in https://repo.maven.apache.org/maven2 during a previous attempt. This failure was cached in the local repository and resolution is not reattempted until the update interval of central has elapsed or updates are forced -> [Help 1]

pom.xml

CodePudding user response:

Maybe you have to load the dependencies you added to the pom.xml.

in IntelliJ you can right click on your pom.xml chose maven -> reload Project. This loads all dependencies from pom.xml. Check the console output for any errors.

CodePudding user response:

Should the answer from Kaspatoo not working for you you can try to add the repository from Javacord to your project.

  • Related