Open itinypocket opened 6 years ago
druid spring boot starter 用的什么版本
spring-boot-starter-parent 2.0.0.RELEASE
druid-spring-boot-starter 1.1.9
对exception-sorter参数不了解,后来我把spring.datasource.druid.exception-sorter参数去掉就不报了
见有个spring.datasource.druid.exception-sorter-class-name参数,可能不是bug,只因为没配置这个参数的缘故吧
嗯,解决了就好,其实我也没用过这个参数,嘿嘿:)。
错误信息: ERROR 11252 --- [ restartedMain] c.a.druid.pool.DruidAbstractDataSource : load exceptionSorter error : true
druid版本1.1.9 配置文件信息: spring.datasource.url=jdbc:mysql://127.0.0.1:3306/ssm spring.datasource.username=root spring.datasource.password=root spring.datasource.driver-class-name=com.mysql.jdbc.Driver
spring.datasource.druid.initial-size=5 spring.datasource.druid.min-idle=5 spring.datasource.druid.max-active=20 spring.datasource.druid.max-wait=60000 spring.datasource.druid.time-between-eviction-runs-millis=60000 spring.datasource.druid.min-evictable-idle-time-millis=300000 spring.datasource.druid.validation-query=SELECT 1 FROM DUAL spring.datasource.druid.test-while-idle=true spring.datasource.druid.test-on-borrow=false spring.datasource.druid.exception-sorter=true spring.datasource.druid.test-on-return=false spring.datasource.druid.pool-prepared-statements=true spring.datasource.druid.filters=stat,wall,log4j spring.datasource.druid.max-pool-prepared-statement-per-connection-size=20 spring.datasource.druid.connection-properties=druid.stat.mergeSql=true;druid.stat.slowSqlMillis=500 spring.datasource.druid.use-global-data-source-stat=true