错误原因:org.springframework.beans.factory.CannotLoadBeanClassException: Cannot find class [com.mchange.v2.c3p0.ComboPooledDataSource] for bean with name ‘dataSource’ defined in ServletContext resource [/WEB-INF/applicationContext.xml]; nested exception is java.lang.ClassNotFoundException: com.mchange.v2.c3p0.ComboPooledDataSource
造成错误的原因是缺少c3p0这个jar包,我们把这个jar包放在lib下面重新启动服务就没问题了。
下载地址:c3p0.jar