问题描述
- 求大神帮助解决JAVA问题,谢谢
-
这是网页上的报错,谁帮看下怎么改
Unable to instantiate Action, com.orSyb.action.test.TestAction, defined for 'testAction' in namespace '/'Failed to convert property value of type '$Proxy17 implementing com.orSyb.services.ITestServices,org.springframework.aop.SpringProxy,org.springframework.aop.framework.Advised' to required type 'com.orSyb.services.impl.test.TestServicesImpl' for property 'testServicesImpl'; nested exception is java.lang.IllegalStateException: Cannot convert value of type [$Proxy17 implementing com.orSyb.services.ITestServices,org.springframework.aop.SpringProxy,org.springframework.aop.framework.Advised] to required type [com.orSyb.services.impl.test.TestServicesImpl] for property 'testServicesImpl': no matching editors or conversion strategy found
解决方案
为哦了色情网二色 为维权
解决方案二:
类型转换失败,不能够把[$Proxy17 implementing com.orSyb.services.ITestServices,org.springframework.aop.SpringProxy,org.springframework.aop.framework.Advised] 转换成你方法里要求的参数的类型 [com.orSyb.services.impl.test.TestServicesImpl] for property 'testServicesImpl 好好看看类型,不匹配,希望能帮到你
时间: 2024-09-08 06:47:51