I am trying to link my java code to mySQL and successfully load the connector jar file to the to the class path but I getting error.
1 Replies
Fixing this error in Maven is bit easy, just add following dependency in your project's pom.xml file.
<dependency>
<groupId>mysql</groupId>
<artifactId>mysql-connector-java</artifactId>
<version>5.1.36</version>
</dependency>