question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Maven artifact 'maven:/mysql:mysql-connector-java:RELEASE' not found

See original GitHub issue

Uppon creating a new mysql connection i get teh following error:

Error resolving dependencies
  java.io.IOException: Maven artifact 'maven:/mysql:mysql-connector-java:RELEASE' not found

It then offers me to download the missing driver and when i clikc download, the following error appears in my terminal, from where i started DBeaver.

I tried staring it with -clean and deleting the user files (sudo rm -rfv ~/.eclipse ~/.dbeaver) but neither worked for me 😦

I am running the newest version, installed just now.

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:8 (2 by maintainers)

github_iconTop GitHub Comments

5reactions
BrusJancommented, May 27, 2020

http://repo1.maven.org/maven2/ This url requires me to use https and tells me to find more info at some sonatype link where they mentioned this link that works: http://insecure.repo1.maven.org/maven2/

5reactions
serge-ridercommented, Mar 25, 2017

From debug log:

2017-03-23 09:51:40.080 - Open [https://repo1.maven.org/maven2/org/postgresql/postgresql/9.4.1212.jre7/postgresql-9.4.1212.jre7.pom]
2017-03-23 09:51:40.438 - Maven artifact 'org.postgresql:postgresql:9.4.1212.jre7' not found in repository 'https://repo1.maven.org/maven2/': sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target

Error happened when DBeaver tried to load driver from Maven Central. For some reason SSL connection cannot be established. Do you use Java provided by DBeaver installer?

Workaround: In version 4.0.3 default Maven repository URL was changed on secured (https) version. You can change it back in preferences->Database->Drivers->Maven. Remove existing maven-central repository and add new one with URL http://repo1.maven.org/maven2/ Note that http Maven repositories aren’t secure. You can be in risk because of MITM attacks.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Maven dependency not found - Stack Overflow
I think the problem is not IntelliJ, I think maven can not download the dependencies, so you can try to force the dependencies...
Read more >
MySQL Connector Java - Maven Repository
Version Vulnerabilities Repository Usages Date 8.0.x 8.0.31 Central 64 Oct 18, 2022 8.0.30 8.0.x Central 242 Jul 25, 2022 8.0.29 8.0.x Central 272 Apr 25, 2022...
Read more >
How the Maven dependencies can be resolved?
I found several questions about the. topic, but unfortunately nothing worked. The Maven dependencies still cannot be resolved. Maven. First I tried this....
Read more >
dbeaver 驱动安装时报错Maven artifact 'maven:/mysql:mysql ...
DBeaver 连接mysql Error resolving dependencies 错误描述java.io.IOException: Maven artifact 'maven:/mysql:mysql-connector-java:RELEASE' not found ...
Read more >
Maven Getting Started Guide
This guide is intended as a reference for those working with Maven for the first time, ... How do I create a JAR...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found