P
P
Pigeon12352020-01-18 20:18:09
Java
Pigeon1235, 2020-01-18 20:18:09

How to fix maven compilation error?

When trying to compile the Discord Bot project via maven, an error occurs

error

Failed to execute goal on project SunderBot: Could not resolve dependencies for project com.pigeon:SunderBot:jar:0.0.1: Failed to collect dependencies at net.dv8tion:JDA:jar:4.1.0_100: Failed to read artifact descriptor for net.dv8tion:JDA:jar:4.1.0_100: Could not transfer artifact net.dv8tion:JDA:pom:4.1.0_100 from/to central (http://jcenter.bintray.com): Authorization failed for http://jcenter.bintray.com/net/dv8tion/JDA/4.1.0_100/JDA-4.1.0_100.pom 403 Forbidden -> [Help 1]

5e233dbd4abf0203309796.png

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
Sergey Gornostaev, 2020-01-18
@Pigeon1235

Judging by
the problem is that you are accessing jcenter.bintray.com via http. Check in pom.xml how the repository is registered.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question