1.下载 struts-2.5.13-min-lib.zip 文件web
2.新建工程spa
3.全选刚下载的 struts-2.5.13-min-lib 内的 jar 包xml
4.确保选择了 Use Library 选项ip
5.在 Project Structure 中 Fix Problemit
6.删除 web.xml 文件中的 ng. 字段,红色部分应成为黑色class
7.正常的 Modules 界面cli