JAVA服务器开发

Struts2配置常见错误

2017-01-05  本文已影响22人  Felix_

1、There is no Action mapped for namespace [/] and action name 。。。

解答:

a,struts.xml文件名错误。一定要注意拼写问题;

b,struts.xml文件放置路径错误。一定要将此文件放置在src目录下。

2、Artifact xxx:war exploded: Server is not connected. Deploy is not available.

然后在服务器配置即可

上一篇下一篇

猜你喜欢

热点阅读