intellij idea实现tomcat热部署

 时间:2026-02-12 07:31:32

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属性值
  • 热门搜索
    孕妇适合喝什么汤 花胶的功效与作用 什么触动了我的心灵 emotion什么意思 麦饭石的作用 致1500米运动员加油稿 染头发什么颜色好看 椰子水的功效与作用 千里光的功效与作用 什么是按揭