ClassNotFoundException: org.springframework.jdbc.datasource.DriverManagerDataSource

后端 未结 3 834
不思量自难忘°
不思量自难忘° 2020-12-25 13:36

I was trying to do some basic database operations. I\'m using STS 3.2.0, Apache Tomcat 7.

My dispatcher-servlet.xml includes:



        
相关标签:
3条回答
  • 2020-12-25 13:58

    if none of the above solution doesn't work, then manually add spring-jdbc jar file to webapp/WEB-INF/lib.

    0 讨论(0)
  • 2020-12-25 13:59

    Try to add to POM.xml:

    <dependency>
        <groupId>org.springframework</groupId>
        <artifactId>spring-jdbc</artifactId>
        <version>3.0.3.RELEASE</version>
    </dependency>
    
    0 讨论(0)
  • 2020-12-25 14:03

    I think you should import selected jdbc jar into web app library.

    0 讨论(0)
提交回复
热议问题