Home > Blockchain >  Maven can't find the Java Discord API dependency
Maven can't find the Java Discord API dependency

Time:04-06

I've tried for a while to figure out the problem with this project, but I just can't figure it out. I've setup a project in IntelliJ, set it to work with Maven, but as I'm writing the pom.xml it claims that the dependency I'm using doesn't exist.

Well, I know for a fact that the dependency code is correct, as both the GitHub and the Maven website share the same IDs and version, I can find it in Intellij_maven_reload_project

EDIT:

I saw in the above comments that you wanted to enable auto-import. If you are on version v2020.1 or above, auto-import functionality has been removed. I would recommend reading this.

Also, you can use keyboard shortcuts for reloading maven:

Windows/Linux - Ctrl Shift O

Mac - Command Shift I

  • Related