intellij idea实现tomcat热部署

 时间:2026-04-21 19:18:41

1、在intellij idea上点击tomcat编辑框。

intellij idea实现tomcat热部署

2、选择deployment,选择部署项名字带有exploded后缀的war包。

intellij idea实现tomcat热部署

3、war添加成功之后点击Server框,然后在update中选择update classed and resources。

intellij idea实现tomcat热部署

4、在下面的tomcat server settings中也可以更改tomcat 的端口和其他的配置。

intellij idea实现tomcat热部署

5、点击ok,重新加载项目文件就配置文件了,只要项目中更改了java文件和页面,tomcat 就会重新加载

intellij idea实现tomcat热部署

6、一定要选择名字带有exploded后缀的war包部署,不然修改文件重新部署是不生效的。

intellij idea实现tomcat热部署

  • 如何在VB.NET中嵌入文件
  • C#如何读写txt文本
  • jquery如何给div设置背景色
  • 搜索工具Everything
  • jquery如何修改css属性值
  • 热门搜索
    鬼使神差是什么意思 什么叫私生饭 米聊是什么 什么是命运 维生素c片 辣白菜的腌制方法和配料 什么是供给侧改革 不可理喻是什么意思 神魔养殖场 萝卜干的腌制方法大全