在 File -> Project Structure -> Facets 中选择项目,点击右边绿色的加号,创建 web.xml 并选择版本号。
File
Project Structure
Facets
web.xml