nested exception is org.springframework.beans.ConversionNotSupportedException的解决方法
来源:互联网 发布:unity保卫萝卜源码 编辑:程序博客网 时间:2024/05/19 00:36
问题:
Unable to instantiate Action, ZhuCeInfoAction, defined for 'ZhuCeAction' in namespace '/'Error creating bean with name 'ZhuCeInfoAction' 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 'com.serviceImpl.UserInfoServiceImpl' to required type 'com.service.UserInfoService' for property 'userInfoService'; nested exception is java.lang.IllegalStateException: Cannot convert value of type [com.serviceImpl.UserInfoServiceImpl] to required type [com.service.UserInfoService] for property 'userInfoService': no matching editors or conversion strategy found
解决方案:1、检查application.xml文件中的配置是否有误。
2、如确认application文件中的配置无误,你应该检查XX的实现类是否实现自XX(如:检查UserInfoServiceImpl是否实现自UserInfoService)。
0 1
- nested exception is org.springframework.beans.ConversionNotSupportedException的解决方法
- nested exception is org.springframework.beans.NotWritablePropertyException:
- org.springframework.beans.ConversionNotSupportedException异常解决方法
- org.springframework.beans.ConversionNotSupportedException:
- org.springframework.beans.ConversionNotSupportedException
- Spring—nested exception is org.springframework.beans.factory.BeanCurrentlyInCreationException
- java异常:org.springframework.beans.ConversionNotSupportedException
- nested exception is java.lang.NoSuchMethodError: org.springframework.beans.MutablePropertyValues.add
- Initialization of bean failed; nested exception is org.springframework.beans.TypeMismatchException:
- Error setting property values; nested exception is org.springframework.beans.NotWritablePropertyExce
- Spring加载XSD文件小结(解决nested exception is org.springframework.beans.factory.xml.XmlBeanDefinitionStoreE)
- Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.Be
- SpringBoot启动报错" Unable to start embedded container; nested exception is org.springframework.beans.fa
- Error setting property values; nested exception is org.springframework.beans.NotWritablePropertyExc
- nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name '(inner bean)#1': Can
- Error creating bean with name 'userService': Injection of resource methods failed; nested exception is org.springframework.beans
- Error creating bean with name 'userService': Injection of resource methods failed; nested exception is org.springframework.beans
- Spring+mybatis+SpringMVC整合发生异常:org.springframework.beans.ConversionNotSupportedException
- 见过鸡蛋型相机没?还能超高清360度全景摄影
- 九度 题目1370:数组中出现次数超过一半的数字
- Link Time Code Generation
- htpasswd命令
- ios 基于GameKit框架的蓝牙通信
- nested exception is org.springframework.beans.ConversionNotSupportedException的解决方法
- Java SQL Server 2008操作类
- MFC程序Debug下无法运行,Release下可以运行
- Linux中断基础构架
- 整数划分问题
- 传染病控制
- 半年小结201405 技术的态度
- 前资深苹果设计师谈「苹果设计」的神话:Jobs 的热情让每个人都害怕
- unicode中含有双码元字符串的截取