struts2中错误提示:There is no Action mapped for namespace / and action name时间:2023-03-09 04:20:31 当在struts2中运行时出现如上所述错误时: 1.在src目录下创建struts.xml一定要注意拼写 2.struts.xml文件中引入和extend是否正确 3.在web.xml 中<welcome-file>中时候配置了自己的启动页面。