APPLICATION FAILED TO START
Description:
Failed to bind properties under 'spring.datasource.druid' to javax.sql.DataSource:
Property: spring.datasource.druid.max-evictable-idle-time-millis
Value: 50000
Origin: class path resource [application.properties]:27:56
Reason: maxEvictableIdleTimeMillis must be grater than minEvictableIdleTimeMillis
Action:
2条答案
按热度按时间yptwkmov1#
spring.datasource.druid.initial-size=5
spring.datasource.druid.max-active=1000
spring.datasource.druid.min-idle=5
spring.datasource.druid.max-wait=30000
spring.datasource.druid.async-init=true
spring.datasource.druid.keep-alive=true
spring.datasource.druid.fail-fast=true
spring.datasource.druid.pool-prepared-statements=true
spring.datasource.druid.max-pool-prepared-statement-per-connection-size=500
spring.datasource.druid.max-open-prepared-statements=500
spring.datasource.druid.validation-query=SELECT 1
spring.datasource.druid.validation-query-timeout=10
spring.datasource.druid.test-on-borrow=true
spring.datasource.druid.test-on-return=true
spring.datasource.druid.test-while-idle=true
spring.datasource.druid.time-between-eviction-runs-millis=180000
spring.datasource.druid.min-evictable-idle-time-millis=10000
spring.datasource.druid.max-evictable-idle-time-millis=50000
spring.datasource.druid.filters=mergeStat,wall
fcwjkofz2#
随机出现,不固定,获取参数问题?