码迷,mamicode.com
首页 > 其他好文 > 详细

运行第一个struts2程序遇到的问题

时间:2018-07-05 23:15:32      阅读:113      评论:0      收藏:0      [点我收藏+]

标签:XML   context   text   ati   原因   article   path   iat   sdn   

1.There is no Action mapped for namespace [/] and action name [hello] associated with context path [/HelloWorldStructs2].

可能原因:  

  1、确保struts.xml文件名大小写正确:struts.xml

  2、确保struts.xml文件在src目录下(很重要!后面就着重说这个)

详情见:https://blog.csdn.net/World_Programming/article/details/52791620?locationNum=1&fps=1

运行第一个struts2程序遇到的问题

标签:XML   context   text   ati   原因   article   path   iat   sdn   

原文地址:https://www.cnblogs.com/nickup/p/9270751.html

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