Class org.springframework.jdbc.core.JdbcTemplate

Multiple annotations found at this line: – Class org.springframework.jdbc.core.JdbcTemplate not found

If you are getting above exception it means spring-jdbc-3.0.5.RELEASE.jar is missing form classpath.
For maven project please add below dependency to your pom.xml file:

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

 

And for other project which use lib add spring-jdbc-3.0.5.RELEASE.jar to your classpath.

Leave a Reply

Your email address will not be published. Required fields are marked *