introducing pom.xml dependent (Eclipse)

First, add dependency in pom.xml

<dependency>
<groupId>mysql</groupId>
<artifactId>mysql-connector-java</artifactId>
</dependency>

And after not finished. . . . . . . .

Second, the need to update the project automatically downloaded to the introduction of package mysql-connector-java.jar

Use Maven project management, engineering needs in the right, select Maven, select the update project

Dependent automatic introduction springboot

 

Guess you like

Origin www.cnblogs.com/cnshuji/p/12119176.html