使用IDEA搭建 mybatis-plus
1.pom.xml文件
<?xml version="1.0" encoding="UTF-8"?>
4.0.0
org.example
mp
1.0-SNAPSHOT
war
mp Maven Webapp
http://www.example.com
junit junit 4.11 test<!-- mysql驱动包 -->
<dependency>
<groupId>mysql</groupId>
<artifactId>mysql-connector-java</artifactId>
<version>5.1.38</version>
</dependency>
<!-- 日志文件 -->
<dependency>
<groupId>log4j</groupId>
<artifactId>log4j</artifactId>
<version>1.2.17</version>
</dependency>
<dependency>
<groupId>com.baomidou</groupId>
<artifactId>mybatis-plus</artifactId>
<version>3.4.2</version>
</dependency>
<!-- c3p0 -->
<dependency>
<groupId>com.mchange</groupId>
<artifactId>c3p0</artif