hl648777580
2016-08-25 09:00spring 和 mybatis整合后启动遇到的一个问题
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerMapping#0': Invocation of init method failed; nested exception is org.springframework.beans.factory.CannotLoadBeanClassException: Cannot find class [org.apache.commons.dbcp.BasicDataSource] for bean with name 'dataSource' defined in file [D:\apache-tomcat-8.0.18\wtpwebapps\Pipeline\WEB-INF\classes\config\spring-mybatis.xml]; nested exception is java.lang.ClassNotFoundException: org.apache.commons.dbcp.BasicDataSource
- 点赞
- 回答
- 收藏
- 复制链接分享
10条回答
为你推荐
- SpringBoot集成Mybatis遇到问题
- mybatis
- spring
- 2个回答