一、添加druid依赖二、application文件加入druid配置
一、添加druid依赖
访问maven仓库复制依赖坐标
https://mvnrepository.com/artifact/com.alibaba/druid-spring-boot-starter
com.alibaba druid-spring-boot-starter 1.2.8
粘到pom.xml中刷新配置
二、application文件加入druid配置

一、添加druid依赖二、application文件加入druid配置
访问maven仓库复制依赖坐标
https://mvnrepository.com/artifact/com.alibaba/druid-spring-boot-starter
com.alibaba druid-spring-boot-starter 1.2.8
粘到pom.xml中刷新配置