Meaningless Drivel is fun!*
The moose likes Spring and the fly likes Error while instantiating JdbcTemplate in spring-config.xml? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Spring
Bookmark "Error while instantiating JdbcTemplate in spring-config.xml?" Watch "Error while instantiating JdbcTemplate in spring-config.xml?" New topic
Author

Error while instantiating JdbcTemplate in spring-config.xml?

Vish Joshi
Greenhorn

Joined: Dec 22, 2010
Posts: 16
Hi,
here is the spring-config.xml i am using-
Mark Spritzler
ranger
Sheriff

Joined: Feb 05, 2001
Posts: 17250
    
    6

Here is your error

Caused by: java.lang.NoSuchMethodError: org.springframework.beans.factory.ListableBeanFactory.getBeanDefinitionNames(Ljava/lang/Class;)

Which to me means that your configuration looks fine. But how are you starting up Spring. What does your code look like.

Mark


Perfect World Programming, LLC - Two Laptop Bag - Tube Organizer
How to Ask Questions the Smart Way FAQ
apurav chauhan
Greenhorn

Joined: Aug 07, 2010
Posts: 21
Are you migrating the spring to some other version.
Check this:
https://jira.springsource.org/browse/SPR-4823
Vish Joshi
Greenhorn

Joined: Dec 22, 2010
Posts: 16
I have resolved the problem..it was commons-logging.jar's version problem!
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Error while instantiating JdbcTemplate in spring-config.xml?