码迷,mamicode.com
首页 > 移动开发 > 详细

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

时间:2016-11-29 13:59:10      阅读:236      评论:0      收藏:0      [点我收藏+]

标签:apache   size   ade   应该   2.x   tom   xml文件   not   tomcat   

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

标签:apache   size   ade   应该   2.x   tom   xml文件   not   tomcat   

原文地址:http://www.cnblogs.com/Hugooscar/p/6113047.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!