vinegardou 2011-01-05 13:37 采纳率: 0%
浏览 439
已采纳

这个是什么异常啊?怎么解决?

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 吧?写错了。

    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论
查看更多回答(7条)

报告相同问题?

悬赏问题

  • ¥15 高德地图点聚合中Marker的位置无法实时更新
  • ¥15 DIFY API Endpoint 问题。
  • ¥20 sub地址DHCP问题
  • ¥15 delta降尺度计算的一些细节,有偿
  • ¥15 Arduino红外遥控代码有问题
  • ¥15 数值计算离散正交多项式
  • ¥30 数值计算均差系数编程
  • ¥15 redis-full-check比较 两个集群的数据出错
  • ¥15 Matlab编程问题
  • ¥15 训练的多模态特征融合模型准确度很低怎么办