GenericObjectPoolConfig Exception

ClassNotFoundException org.apache.commons.pool2.impl.GenericObjectPoolConfig

Posted by Autuan.Yu on April 18, 2022

问题

ClassNotFoundException: org.apache.commons.pool2.impl.GenericObjectPoolConfig

环境

spring-boot-starter-parent 2.5.8

解决

添加以下依赖

<dependency>
    <groupId>org.apache.commons</groupId>
    <artifactId>commons-pool2</artifactId>
</dependency>