1.首先【Run】-->【Edit Configurations】,进入对应功能界面

2.点击左上角【+】,选择Tomcat Server -->Local

3.Name输入自己中意的,下面两个port,保证没被占用就行
4.切到【Deployment】页签,点击【+】,选择你想要部署的war包,这里推荐选择后面带exploded的,滑动到下面,修改应用上下文Application context,调整完成,会自动在URL后追加上

5.把你的启动配置,放到Tomcat的config目录下,这里也可以通过上一步的Startup/Connection页签里面去指定启动配置的目录。

6.直接启动你的web即可。