SpringBoot 整合 myBatis-Plus? 看这一篇就够了
文章目录
前言
一、配置XML文件
<dependency>
<groupId>com.baomidou</groupId>
<artifactId>mybatis-plus-boot-starter</artifactId>
</dependency>
二、编写application.properties
配置数据库连接
spring.application.name = itcast-mp-springboot
spring.datasource.driver-class-name=com.mysql.jdbc.Driver
spring.datasource.url=jdbc:mysql://127.0.0.1