码迷,mamicode.com
首页 >  
搜索关键字:instantiate    ( 241个结果
Unable to instantiate Action, xxxAction, defined for 'xxx' in namespace '/'xxxAction解决方案
出现这个问题的原因主要有两个 1、如果项目没有使用Spring,则struts.xml配置文件中,这个action的class属性的路径没有写完整,应该是包名.类名 2、如果项目使用了Spring,那就是applicationContext.xml里面没有为这个action定义bean。这样strus.xml中的对应action的class属性的值就是Spring配置文件中bean的id,比如...
分类:其他好文   时间:2014-05-15 05:24:51    阅读次数:229
241条   上一页 1 ... 23 24 25
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!