posted 6 years ago
Hello All,
In my spring configuration file, I defined spring DataSource bean and JdbcTemplate bean as below..
When I run the app, it is throwing error below..
Below are my dao and service classes.
UserDaoImpl.java
UserDao.java
UserService.java
I believe there should be some problem in the configuration file. Is it because, I'm defining the data source as singleton, I'm getting the error? Can you please clarity?
Thanks in advance for your help!