Messages: There is no Action mapped for namespace [/] and action name [] associated with context pat
来源:互联网 发布:天猫跟淘宝哪个好 编辑:程序博客网 时间:2024/05/16 10:26
经过一段时间对Struts 2.0 的学习,以下是手动导包到 WEB-INF/lib ,也就是说相关资料从http://struts.apache.org/download.cgi#struts23163 (先前是直接用Myeclipse project facets)
Struts has detected an unhandled exception:
Messages:There is no Action mapped for namespace [/] and action name [] associated with context path [/Struts2Demo].
Stacktraces
There is no Action mapped for namespace [/] and action name [] associated with context path [/Struts2Demo]. - [unknown location]
com.opensymphony.xwork2.DefaultActionProxy.prepare(DefaultActionProxy.java:185) org.apache.struts2.impl.StrutsActionProxy.prepare(StrutsActionProxy.java:63) org.apache.struts2.impl.StrutsActionProxyFactory.createActionProxy(StrutsActionProxyFactory.java:37) com.opensymphony.xwork2.DefaultActionProxyFactory.createActionProxy(DefaultActionProxyFactory.java:58) org.apache.struts2.dispatcher.Dispatcher.serviceAction(Dispatcher.java:554) org.apache.struts2.dispatcher.ng.ExecuteOperations.executeAction(ExecuteOperations.java:81) org.apache.struts2.dispatcher.ng.filter.StrutsPrepareAndExecuteFilter.doFilter(StrutsPrepareAndExecuteFilter.java:99) org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243) org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:222) org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123) org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472) org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:168) org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:99) org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118) org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:407) org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1002) org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:585) org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:312) java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) java.lang.Thread.run(Thread.java:744)
以下个人解决方案:
Google他人:http://www.cnblogs.com/gulvzhe/archive/2011/11/21/2256632.html
除了这些,还有一个地方需要改
0 0
- Messages: There is no Action mapped for namespace [/] and action name [] associated with context pat
- There is no Action mapped for namespace [/] and action name [repassword] associated with context pat
- There is no Action mapped for namespace [/] and action name [hello] associated with context path [/
- There is no Action mapped for namespace [] and action name [] associated with context path []
- There is no Action mapped for namespace [/] and action name [upload/] associated with context path
- There is no Action mapped for namespace [/] and action name [Login] associated with context path [/e
- There is no Action mapped for namespace [/] and action name [] associated with context path [/struts
- There is no Action mapped for namespace [/] and action name [viewLogAction] associated with context
- There is no Action mapped for namespace [/] and action name [login] associated with context path [/M
- There is no Action mapped for namespace [/] and action name [] associated with context path [/dxm__s
- There is no Action mapped for namespace [/] and action name [hello2] associated with context path [/
- struts2配置错误 There is no Action mapped for namespace [/] and action name [] associated with context
- There is no Action mapped for namespace [/] and action name [spropertyvalue] associated with context
- There is no Action mapped for namespace [/] and action name [user!add] associated with context path
- There is no Action mapped for namespace [/] and action name [spropertyvalue] associated with context
- There is no Action mapped for namespace [/] and action name [Person] associated with context path
- There is no Action mapped for namespace[/] and action name [] associated with context path.
- There is no Action mapped for namespace [/] and action name [login] associated with context path [/p
- DOM编程--属性操作
- C语言的谜题
- 数据结构之线性表
- java练习--随机数加法器
- JS模拟点击的那些事儿
- Messages: There is no Action mapped for namespace [/] and action name [] associated with context pat
- ORACLE函数
- 随笔---2015/10/05
- 把笔记本电脑的无线网络通过网线共享给台式机
- GO 和 KEGG 注释之前,为什么要先进行序列比对(BLAST)?
- Javascript的异常处理介绍
- DNS劫持 DNS污染 介绍 与 公共DNS 推荐
- 开发人员常用的10个JavaScript库
- 小宇宙,爆发吧