image.png image.png
手动添加web.xml

手动添加web.xml文件

image.png
在file-project structure中打开项目结构设置。
image.png
选中对应web项目中的facets,选择其中+:
image.png
image.png
添加对应的xml文件。可以发现添加了xml文件:
image.png
最好将其移动到web文件下:
image.png

image.pngimage.png