springboot-04-druid-starter-test

springboot自定义starter(用druid阿里连接池,自定义实现druid的starter)

启动

拉下这个三个项目代码,然后把druid-spring-boot-starter-autoconfigure、druid-spring-boot-starter安装到本地仓库中,
先安装druid-spring-boot-starter-autoconfigure在安装druid-spring-boot-starter,是因为druid-spring-boot-starter中依赖了
druid-spring-boot-starter-autoconfigure,
最后启动:springboot-04-druid-starter-test
访问:http://localhost/druid 密码看代码中yml配置的密码即可登陆