编程语言
首页 > 编程语言> > java.lang.NoClassDefFoundError: org/apache/commons/pool/KeyedObjectPoolFactory

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>

 

标签:lang,1.6,java,NoClassDefFoundError,commons,pool
来源: https://www.cnblogs.com/wongzzh/p/15388479.html