JAVA Spring ResultSetExtractor错误......我可能会错过一个jar

时间:2013-05-11 06:01:27

标签: java spring spring-mvc

错误:org.springframework.web.servlet.DispatcherServlet - 上下文初始化失败 org.springframework.beans.factory.BeanCreationException:创建名为'org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerMapping#0'的bean时出错:bean的初始化失败;嵌套异常是java.lang.NoClassDefFoundError:org / springframework / jdbc / core / ResultSetExtractor

1 个答案:

答案 0 :(得分:0)

您需要将spring-jdbc.jar及其依赖项spring-tx.jar添加到WEB-INF / lib