java.lang.NoClassDefFoundError: org/apache/commons/pool/KeyedObjectPoolFactory
spring 整合 mybatis
报错信息
java.lang.NoClassDefFoundError: org/apache/commons/pool/KeyedObjectPoolFactory
找不到commons-pool,
添加commons-pool-1.6依赖
<dependency>
<groupId>commons-pool</groupId>
<artifactId>commons-pool</artifactId>
<version>1.6</version>
</dependency>