Struts2 中There is no Action mapped for action name helloword

来源:互联网 发布:linux谁的视频好 编辑:程序博客网 时间:2024/05/16 13:06


           Struts2 中There is no Action mapped for action name helloword,这个问题困扰了我很久,看STRUTS2的视频和教程,小心翼翼的跟着教程做,还是报错,都快疯了,反复观看教程,发现在发布的时候,与教程有所不同,原来我习惯在server.xml中配制,而struts.xml和classes被放在build中,并没有在WEB-INF\classes,所以一直报错。选择项目-->右键-->run as--> run on server。重新访问,问题解决!

0 0
原创粉丝点击