真的对当下百度搜索出来 某些 spring Boot druid 整合搜索出来的文章感到失望 .
从百度搜索完了,复制粘贴,跑起来就直接往自己blog一贴,有的甚至没跑过,demo工程甚至都是错的。
// db
compile('com.alibaba:druid-spring-boot-starter:1.1.7')
compile('org.mybatis.spring.boot:mybatis-spring-boot-starter:1.3.0')
compile('com.github.pagehelper:pagehelper:4.1.6')
compile('mysql:mysql-connector-java')