IntelliJ IDEA部署tomcat时Edit Configuration无artifact选项

IntelliJ使用 ##使用IntelliJ IDEA配置web项目时,选择Edit Configration部署Tomcat的Deployment可能会出现以下情况:

无artifact选项
导致新手部署过程中摸不着头脑。
解决办法:
1、打开Project Structure;
2、选择Aritfacts选项:
这里写图片描述
3、点击+号,选择Web Application:Exploded->From Modules:
这里写图片描述
4、选择你的项目即可:
这里写图片描述
5、再次进入Edit Configration->Deployment,点击+号,即可看到Artifact选项了:
这里写图片描述

原文地址:https://www.cnblogs.com/dongfangzan/p/5978355.html