Answer the question
In order to leave comments, you need to log in
How to install Maven dependency mysql-connector-java?
I'm trying to connect mysql-connector to a maven project. Tried several versions of the connector
Says dependency not found. And through the environment:
Finds a bunch of options in the repository, but when you try to connect:
Again an error!
Why is that? Previously, somehow it was possible to connect everything. And now something is wrong... I
'm using a proxy. I registered the proxy settings in the environment, they are in order (connection test = saxesfull)
Answer the question
In order to leave comments, you need to log in
~/.m2/settings.xml
<?xml version="1.0" encoding="UTF-8"?>
<settings>
<proxies>
<proxy>
<active>true</active>
<protocol>http</protocol>
<host>PROXY_HOST</host>
<port>PROXY_PORT</port>
<!-- <username>proxyuser</username>
<password>somepassword</password> -->
<nonProxyHosts>*.YOUR-DOMAIN.ru|127.0.0.1</nonProxyHosts>
</proxy>
</proxies>
</settings>
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question