我是靠谱客的博主 鳗鱼苗条,这篇文章主要介绍错误报告页面错误报告页面,现在分享给大家,希望可以做个参考。

错误报告页面

 Unable to instantiate Action, com.founder.cis.action.zxb.ZxbMobileFolderAction, defined for 'ZxbMobileFolder' in namespace '/'Failed to convert property value of type [com.sun.proxy.$Proxy43 implementing com.founder.cis.dao.mobile.MobileSiteFolderDao,org.springframework.beans.factory.InitializingBean,org.springframework.aop.SpringProxy,org.springframework.aop.framework.Advised] to required type [com.founder.cis.dao.zxb.ZxbMobileSiteFolderDao] for property 'mobileSiteFolderDao'; nested exception is java.lang.IllegalArgumentException: Cannot convert value of type [com.sun.proxy.$Proxy43 implementing com.founder.cis.dao.mobile.MobileSiteFolderDao,org.springframework.beans.factory.InitializingBean,org.springframework.aop.SpringProxy,org.springframework.aop.framework.Advised] to required type [com.founder.cis.dao.zxb.ZxbMobileSiteFolderDao] for property 'mobileSiteFolderDao': no matching editors or conversion strategy found - action - file:/F:/workspace/Zxb_app/WebContent/WEB-INF/classes/struts-ana.xml:28:106

 

我刚好也遇到这样的情况,发现是自己的配置文件里写错了,spring里的id属性值要对应struts里class属性值。

打开struts.xml配置文件,发现是在ana包中,而ZxbMobileFolderAction这个类在zxb目录下的,所以应该配置package的name属性为“zxb”,即可解决问题

最后

以上就是鳗鱼苗条最近收集整理的关于错误报告页面错误报告页面的全部内容,更多相关错误报告页面错误报告页面内容请搜索靠谱客的其他文章。

本图文内容来源于网友提供,作为学习参考使用,或来自网络收集整理,版权属于原作者所有。
点赞(168)

评论列表共有 0 条评论

立即
投稿
返回
顶部