Caused by: java.lang.ClassNotFoundException: org.apache.commons.dbcp.BasicDataSource

异常:Caused by: java.lang.ClassNotFoundException: org.apache.commons.dbcp.BasicDataSource

Caused by: java.lang.ClassNotFoundException: org.apache.commons.dbcp.BasicDataSource_第1张图片

解决方案:缺少文件,网上搜了一下,缺少commons-pool.jar、commons-dbcp-x.x.jar和commons-collections-x.x.jar这三个jar包加入classpath中就可以了!

你可能感兴趣的:(bug,解决方案,异常,jar)