关于网友提出的“ 请问spring+Hibernate事务管理的问题,这个是什么错啊?”问题疑问,本网通过在网上对“ 请问spring+Hibernate事务管理的问题,这个是什么错啊?”有关的相关答案进行了整理,供用户进行参考,详细问题解答如下:
问题: 请问spring+Hibernate事务管理的问题,这个是什么错啊?描述:
Error creating bean with name '/goumai' defined in class path resource [applicationContext.xml]: Error setting property values; nested exception is org.springframework.beans.PropertyAccessExceptionsException; nested PropertyAccessExceptions (1) are:
PropertyAccessException 1: org.springframework.beans.TypeMismatchException: Failed to convert property value of type [org.lyy.dao.Xiaoshoudao] to required type [org.lyy.biz.IXiaoshou] for property 'ixiaoshou'