org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'paymentOfClaimsHeadService' defined in ServletContext resource [/WEB-INF/applicationContext.xml]: Initialization of bean failed; nested exception is org.springframework.beans.TypeMismatchException: Failed to convert property value of type [com.sinews.insurance.dao.impl.PaymentOfClaimsDetailDaoImpl] to required type [com.sinews.insurance.dao.PaymentOfClaimsHeadDao] for property 'paymentOfClaimsDetailDao'; nested exception is java.lang.IllegalArgumentException: Cannot convert value of type [com.sinews.insurance.dao.impl.PaymentOfClaimsDetailDaoImpl] to required type [com.sinews.insurance.dao.PaymentOfClaimsHeadDao] for property 'paymentOfClaimsDetailDao': no matching editors or conversion strategy found
8条回答 默认 最新
- lang_shao 2011-01-05 13:51关注
com.sinews.insurance.service.impl.PaymentOfClaimsHeadServiceImpl中的 paymentOfClaimsDetailDao 的类型是 com.sinews.insurance.dao.PaymentOfClaimsHeadDao 吧?写错了。
本回答被题主选为最佳回答 , 对您是否有帮助呢?解决 无用评论 打赏 举报