Monday, December 1, 2014

Unsatisfied dependency expressed through constructor argument with index 0 of type [org.springframework.orm.hibernate3.HibernateTransactionManager]: Could not convert constructor argument value of type [org.springframework.orm.hibernate4.HibernateTransactionManager] to required type [org.springframework.orm.hibernate3.HibernateTransactionManager]: Failed to convert value of type 'org.springframework.orm.hibernate4.HibernateTransactionManager' to required type 'org.springframework.orm.hibernate3.HibernateTransactionManager'; nested exception is java.lang.IllegalStateException: Cannot convert value of type [org.springframework.orm.hibernate4.HibernateTransactionManager] to required type [org.springframework.orm.hibernate3.HibernateTransactionManager]:

Please check your DAO class and hibernate configuration XML from which package you have imported HibernateTransactionManager.

you might be using hibernate4 in XML and In DAO  you might  import import org.springframework.orm.hibernate4.HibernateTransactionManager;


Make both in same package or version

No comments:

Post a Comment