依赖(pom.xml)
spring-boot-starter-webmvc
mybatis-spring-boot-starter
mysql-connector-j
spring-boot-starter-data-redis
配置和你的代码
spring.datasource.url
StringRedisTemplate
自动配置类(启动时逐个检查条件)
Spring 容器