1<dependency>
2 <groupId>mysql</groupId>
3 <artifactId>mysql-connector-java</artifactId>
4 <version>8.0.18</version>
5</dependency>
1/*
2It seems the mysql connectivity library is not included in the project. Solve the problem following one of the proposed solutions:
3
4MAVEN PROJECTS SOLUTION
5Add the mysql-connector dependency to the pom.xml project file:
6
7<dependency>
8 <groupId>mysql</groupId>
9 <artifactId>mysql-connector-java</artifactId>
10 <version>5.1.39</version>
11</dependency>
12Here you are all the versions: https://mvnrepository.com/artifact/mysql/mysql-connector-java
13
14ALL PROJECTS SOLUTION
15Add the jar library manually to the project.
16
17Right Click the project -- > build path -- > configure build path
18
19In Libraries Tab press Add External Jar and Select your jar.
20
21You can find zip for mysql-connector here (http://dev.mysql.com/downloads/connector/j/5.0.html)
22*/