笔者是使用spring4.0时,报的错误: 原因是没有引入spring-tx-4.0.0.RELEASE.jar包,將spring-tx-4.0.0.RELEASE.jar添加到build path中即可. org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sqlSession' defined in class path resource [beans.xml]: Re…