是从git上导下来的maven项目
然后测试用例的时候报错:
Error creating bean with name 'ReadDataSource' defined in class path resource [mysql-datasource-bean-test.xml]: Instantiation of bean failed; nested exception is java.lang.NoClassDefFoundError: Could not initialize class com.mchange.v2.c3p0.ComboPooledDataSource
网上说Could not initialize class com.mchange.v2.c3p0.ComboPooledDataSource这个错误是因为缺少jar包c3p0-0.9.1.2.jar 但是我找了一下build path里面的maven dependencies是有这个jar包的 那么问题来了,应该怎么改错呢~
添加回答
举报
0/150
提交
取消