エラーメッセージ:
javax.sql.DataSourceへの「spring.datasource.druid」の下のプロパティをバインドに失敗しました:
Property: spring.datasource.druid.filters
Value: stat,wall,log4j
Origin: class path resource [application.yml]:21:16
Reason: org.apache.log4j.Priority
解决方案:
缺少log4j的包,依赖如下:
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-log4j12</artifactId>
</dependency>