Error creating bean with name 'transactionManager' defined in class path resource [applicationContex

版权声明:博客知识产权来源命运的信徒,切勿侵权 https://blog.csdn.net/qq_37591637/article/details/88018917

提取的主要错误信息如下:

org.springframework.beans.factory.BeanCreationException:

Error creating bean with name 'transactionManager' defined in class path resource [applicationContext.xml]: Initialization of bean failed; nested exception is org.springframework.beans.

ConversionNotSupportedException: Failed to convert property value of type 'org.hibernate.internal.SessionFactoryImpl' to required type 'javax.sql.DataSource' for property 'dataSource';

nested exception is java.lang.IllegalStateException: Cannot convert value of type [org.hibernate.internal.SessionFactoryImpl] to required type [javax.sql.DataSource] for property 'dataSource': no matching editors or conversion strategy found


错误配置代码


 


 错误原因

猜你喜欢

转载自blog.csdn.net/qq_37591637/article/details/88018917