配置druid的时候出现错误
***************************
APPLICATION FAILED TO START
***************************Description:Failed to bind properties under 'spring.datasource.druid' to javax.sql.DataSProperty: spring.datasource.filtersValue: stat,wall,log4jOrigin: class path resource [application.yml]:21:14Reason: org.apache.log4j.LoggerAction:Update your application's configuration
出错原因:
Value: stat,wall,log4j
这个没有导入依赖包
<!-- https://mvnrepository.com/artifact/log4j/log4j --><dependency><groupId>log4j</groupId><artifactId>log4j</artifactId><version>1.2.17</version></dependency>
然后就ok了,还要配置一下log4j哟