1. 去官网下载 tomcat
官网地址:http://tomcat.apache.org/ 下载二进制的包文件
2. 解压到指定目录
3. 打开 IDEA 选择 File - close Project 然后选择有下角的 Configure - plugins 打开 Plugins 框, 搜索 tomcat , 选择 tomcat 然后点击 OK;
4. 选择 Configure - settings 打开 Settings 框,选择 Build, Execution, Deployment - Application Servers 点击右边的 + 添加 tomcat server,然后选择tomcat的解压目录