1)选择File--》Project Structure
2)点击 Artifacts --》 Web Application:Exploded
3)这个时候打开Run/Debug Configurations,很明显no artifacts configured 已经不在了
4)这个时候,只要把 no artifacts marked for deployment 解决掉就好了
5)点击Deployment --》 Artifact
6)界面自动转换成下面这个,并且箭头所指示的是一开始创建的WebApplication:Exploded
注:个人把名字命名为WebApplication
7)点击保存,功德圆满