IDEA如何配置Tomcat?

1.打开idea,在项目运行列表下拉选择“edit Configurations”
IDEA如何配置Tomcat?
2.在打开的界面,点击“+”,再选择下面的Tomcat Server下的local
IDEA如何配置Tomcat?
IDEA如何配置Tomcat?

3.在打开的界面,第一行“Name”中填入tomcat的名称
IDEA如何配置Tomcat?

然后点击Configure…,在Application Servers界面,点击“+”,在Tomcat Server配置界面选择要添加的tomcat的路径,最后点击“OK”
IDEA如何配置Tomcat?
或是
IDEA如何配置Tomcat?

选择配置好的tomcat,点击“OK”
IDEA如何配置Tomcat?

4.再配置其它选项,最后点击“OK”即可,如下图:

IDEA如何配置Tomcat?

居中的图片: IDEA如何配置Tomcat?

居中并且带尺寸的图片: IDEA如何配置Tomcat?