Home  >  Forum  >  Spring
Post New Query

Caused by: java.lang.ClassNotFoundException: org.springframework.jdbc.core.support.JdbcDaoSupport


joined on
December 18,2014
Asked on March 24,2016
Hi I am creating a spring application in which I am accessing MySQL and error as follows. What is missing?

Caused by: java.lang.ClassNotFoundException: org.springframework.jdbc.core.support.JdbcDaoSupport
at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1320)
at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1173)

joined on
November 09,2013
Replied on March 24,2016

You are missing spring-jdbc JAR.

Use maven for spring-jdbc 

<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-jdbc</artifactId>
<version>4.2.5.RELEASE</version>
</dependency>

Or use  spring-boot-starter-jdbc

<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-jdbc</artifactId>
<version>1.3.3.RELEASE</version>
</dependency>


Write Answer




Copyright ©2017 concretepage.com, all rights reserved |Privacy Policy | Contact Us