Gradel lee las dependencias requeridas por yml
dependencias {
testCompile group: 'junit', name: 'junit', version: '4.12'
// spring boot 相关
compile('org.springframework.boot:spring-boot-starter-web')
compile('org.springframework.boot:spring-boot-starter-test')
compile('org.springframework.boot:spring-boot-starter-jdbc')
compile('org.springframework.boot:spring-boot-starter-aop')
compile('org.springframework.boot:spring-boot-starter-data-redis')
compile('org.springframework.boot:spring-boot-configuration-processor')