关于Unable to instantiate Action, xxxAction, defined for 'xxx' in namespace '/'xxxAction解决方案
来源:互联网 发布:高中毕业后的出路知乎 编辑:程序博客网 时间:2024/05/16 17:33
如果没有加入spring,则需要在Action的class属性里面添加完整的路径包,如class=“lx.com.Action.XXXAction"
如果加入了spring,则在applicationContext.xml里定义一个bean
如
- <bean id="adminAction" class="go.derek.action.AdminAction"
- scope="prototype">
- </bean>
- <action name="admin" class="adminAction" method="execute">
- <result>/admin.jsp</result>
- </action>
有时候即使添加了扫描,也会报错,也需要这样添加bean
阅读全文
0 0
- 关于Unable to instantiate Action, xxxAction, defined for 'xxx' in namespace '/'xxxAction解决方案
- Unable to instantiate Action, xxxAction, defined for 'xxx' in namespace '/'xxxAction解决方案
- Unable to instantiate Action, xxxAction, defined for ‘xxx’ in namespace ‘/’xxxAction解决方案
- Unable to instantiate Action, xxxAction, defined for ‘xxx’ in namespace ‘/’xxxAction
- Unable to instantiate Action, defined for t' in namespace '/'XXXAction
- Unable to instantiate Action, XXXAction, defined for 'xx' in namespace 'xx'报错解决
- Unable to instantiate Action,xxx-action, defined for 'xxx' in namespace '/xxx/xxxx/xxxxx'Error crea
- 八、Unable to instantiate Action, xxx.action.DeleteAction, defined for 'delete' in namespace
- Unable to instantiate Action,,,,,,,,,defined for ',,,' in namespace '/,,,'null
- Unable to instantiate Action,,,,,,,,,defined for ',,,' in namespace '/,,,'null
- Unable to instantiate Action, goodsTypeAction, defined for 'goodsType_findAdvanced' in namespace '/
- Unable to instantiate Action, loginAction, defined for 'login' in namespace
- Unable to instantiate Action, categoryAction, defined for 'category_queryJoinAccount' in namespace
- Unable to instantiate Action, defined for in namespace '/'
- 整合SSH后出现Unable to instantiate Action, student, defined for 'add_StudentAction' in namespace '/'stude
- 出现"Unable to instantiate Action,xxxxx, defined for 'login' in namespace '/' xxxxx 解决办法
- 异常4: Unable to instantiate Action, AddZhangMuAction, defined for 'AddZhangAction' in namespace ...
- Unable to instantiate Action, MenuAction, defined for 'QueryMenuAll' in namespace '/'MenuAction
- 11.06笔记整理、作业以及学习心得
- java IO 管道流 PipedInputStream 使这2个线程互相通讯
- xlib一夜学习体会
- Hibernate--继承映射详解
- Oracle Application Express by Design.pdf 英文原版 免费下载
- 关于Unable to instantiate Action, xxxAction, defined for 'xxx' in namespace '/'xxxAction解决方案
- linus下启动node服务,只有本机能通信,同局域网的其他电脑连接不上解决
- 回车(CR)与换行(LF), '\r'和'\n'的区别
- ubuntu中sudo apt-get install 出现 failed to fetch
- MongoDB-Cookbook.pdf 英文原版 免费下载
- 51nod 1051 最大子矩阵和
- 感知机算法
- 递归
- Java 9 Programming By Example.pdf 英文原版 免费下载