Struts2-tomcat报错:There is no Action mapped for namespace / and action

Posted 探知亦者

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了Struts2-tomcat报错:There is no Action mapped for namespace / and action相关的知识,希望对你有一定的参考价值。

HTTP Status 404 - There is no Action mapped for namespace / and action name first.


type Status report

message There is no Action mapped for namespace / and action name first.

description The requested resource is not available.


Apache Tomcat/6.0.37

 

解决:

1.struts.xml文件名出现出错:如:sturts.xml拼写错误,struts2.xml理解错误;

2.struts.xml文件放置位置出错,应该放在src目录下;

3.struts.xml文件内容出错

以上是关于Struts2-tomcat报错:There is no Action mapped for namespace / and action的主要内容,如果未能解决你的问题,请参考以下文章

关于There is already xxx bean method报错的原因

git pull报错:There is no tracking information for the current branch

git pull报错:There is no tracking information for the current branch

npm报错This is probably not a problem with npm. There is likely additional logging

esxi报错There is no more space for virtual disk--逻辑卷缩减!

安装graphviz报错:There is no layout engine support for “dot“