Struts2提示:There is no Action mapped for namespace [/] and action的解决办法
2017-03-20 18:53
411 查看
错误提示: 警告: Could not find action or result There is no Action mapped for namespace [/] and action name [] associated with context path [/struts2_01_HelloWorld]. - [unknown location] at com.opensymphony.xwork2.DefaultActionProxy.prepare(DefaultActionProxy.java:185) at org.apache.struts2.impl.StrutsActionProxy.prepare(StrutsActionProxy.java:63) at org.apache.struts2.impl.StrutsActionProxyFactory.createActionProxy(StrutsActionProxyFactory.java:39) at com.opensymphony.xwork2.DefaultActionProxyFactory.createActionProxy(DefaultActionProxyFactory.java:58) at org.apache.struts2.dispatcher.Dispatcher.serviceAction(Dispatcher.java:501) at org.apache.struts2.dispatcher.ng.ExecuteOperations.executeAction(ExecuteOperations.java:77) at org.apache.struts2.dispatcher.ng.filter.StrutsPrepareAndExecuteFilter.doFilter(StrutsPrepareAndExecuteFilter.java:91) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:104) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:261) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844) at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:581) at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447) at java.lang.Thread.run(Thread.java:619)
原因:
由于将index.jsp文件删除导致。
解决办法:
新建一个index.jsp文件在根目录下即可!
相关文章推荐
- struts2提示“There is no Action mapped for namespace [/] and action name [XXX]... ”错误的解决办法
- There is no Action mapped for namespace [/] and action name [login] associate解决办法 .
- ssh web项目出现错误There is no Action mapped for namespace [/] and action name [login] associate解决办法
- There is no Action mapped for namespace [/] and action name [login] associate解决办法
- There is no Action mapped for namespace [/] and action name [login] associate解决办法 .
- Struts2错误:There is no Action mapped for namespace... 解决方法
- struts2 纯注解 却提示There is no Action mapped for namespace
- struts2 升级 2.3.15.1以后 (There is no Action mapped for namespace [/] and action)
- There is no Action mapped for namespace [/] and action name [runAction] associated with context path [/Struts2_day01].
- Struts2中DMI(动态方法调用)的错误问题(There is no Action mapped for namespace [/xxx] and action name [xxx!yyy] a)
- 使用Struts2动态方法调用时(DMI)出现There is no Action mapped for namespace [/user] and action name [user!add] 问题
- struts2关于"There is no Action mapped for namespace / and action name"的解决方法
- There is no Action mapped for namespace / and action name 问题的解决办法
- struts2中错误提示:There is no Action mapped for namespace / and action name
- eclipse中配置struts2出现There is no Action mapped for namespace [/] and action name [Login] associated w
- struts2报错:There is no Action mapped for namespace [/] and action name [userAction!add]
- There is no Action mapped for namespace [/] and action name [accoutLogin] associated with context path [/cloudclick].Struts2错误
- 每当使用struts2动态方法调用时,总是出现错误:There is no Action mapped for namespace [/user] and action name [user!add]
- struts2配置错误 There is no Action mapped for namespace [/] and action name [] associated with context
- There is no Action mapped for namespace [/] and action name [] associated with context path [/struts2web1].