Error starting ApplicationContext. To display the conditions report re-run your application with 'debug' enabled. 2020-10-28 19:54:03.822 ERROR 24084 --- [ main] o.s.b.d.LoggingFailureAnalysisReporter : *************************** APPLICATION FAILED TO START *************************** Description: Failed to bind properties under 'spring.datasource' to javax.sql.DataSource: Property: spring.datasource.filters Value: stat,wall,log4j Origin: class path resource [application.yaml]:22:14 Reason: org.apache.log4j.Logger Action: Update your application's configuration
SpringBoot整合druid时,控制台报出以上错误,按照要求添加log4j的maven依赖,问题解决