springboot integration druid connection pool - error

Error message:

 

***************************
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.yml]:24:14
    Reason: org.apache.log4j.Logger

Action:

Update your application's configuration

 

See given reason Reason: org.apache.log4j.Logger, then I guess less dependent log4j related to the introduction of dependencies in the pom

 

<dependency>
<groupId>log4j</groupId>
<artifactId>log4j</artifactId>
<version>1.2.17</version>
</dependency>

 




Guess you like

Origin www.cnblogs.com/zwq20134/p/11613553.html