


if 2 does not work, then try step 2 again but run mvn with -o flag.If the problem persists, then manually download mysql-connector-java-5.1.36.jar and place it there.Make sure you do chmod +777 to that path. You should go to /conf/settings.xml and uncomment and change /path/to/local/repo to a path. Get Java library: mysql / mysql-connector-java / 8.0.13 (jar), download sources of Maven/Gradle/Ivy artifact: mysql-connector-java, version: 8.0. Go to your maven installation and specify a different repository location.I just copied your pom and i was able to successfully build. Upgrade to maven 3 if you are on maven 2. MySQL Connector/MXJ is a Java Utility package for deploying and managing a MySQL database.Central repository is by default configured with maven installation. Ensure that your firewall is configured such that you can download file from here.delete mysql-connector coordinates and corresponding pom.xml file. if you are using either nexus or artifactory repositories in your organization.m2/repository/mysql-connector-java/5.1.36 there is only pom.xml file. My IDE is not showing me any errors.Īlso, here is my dependency in the POM : įrom the OP response, it looks like in. I have also tried blowing it away, and running : mvn cleanīut the error just will not go away. I have checked, the jar is there, right where maven is looking.
#Maven repository mysql connector for java zip file#
I am getting the following error : Failed to execute goal :maven-shade-plugin:2.3:shade (default) on project rest-api: Error creating shaded jar: error in opening zip file /Users/ldelaney/.m2/repository/mysql/mysql-connector-java/5.1.36/mysql-connector-java-5.1.36.jar If you think the following mysql-connector-java-5.1.43.jar downloaded from Maven central repository is inappropriate, such as containing malicious code/tools or violating the copyright, please email, thanks. Maven: Add the com.zendesk:mysql-binlog-connector-java library to the dependencies element of your pom. I am trying to build my dropwizard project using the following command : mvn package
