Reputation: 15
I am trying to make a discord bot for the first time and have run into a problem. When I'm trying to import JDA(https://github.com/DV8FromTheWorld/JDA) it underlines the version red. When I use a slightly older version I also can't seem to import anything.
<dependencies>
<dependency>
<groupId>net.dv8tion</groupId>
<artifactId>JDA</artifactId>
<version>4.2.0_204</version>
</dependency>
</dependencies>
Image is with a working version
Upvotes: 0
Views: 1752
Reputation: 5393
Have you added:
<repository>
<id>jcenter</id>
<name>jcenter-bintray</name>
<url>https://jcenter.bintray.com</url>
</repository>
repository in you POM? The release version you are using is not present on Maven Central. Please refer this guide with installation instruction.
Upvotes: 1