我用的是 IDEA 的新 UI 编辑当前配置 ![](https://i-blog.csdnimg.cn/direct/b5ecdc7dcb7c4e45867e16f11ed6addc.png) 添加TomCat 选择部署方式