网站首页 美食营养 游戏数码 手工爱好 生活家居 健康养生 运动户外 职场理财 情感交际 母婴教育 时尚美容

intellij idea实现tomcat热部署

时间:2024-10-15 03:54:37

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

intellij idea实现tomcat热部署

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

intellij idea实现tomcat热部署

3、war添加成功之后点击Server框,然后在up蟠校盯昂date中选择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热部署
© 2025 小知经验
信息来自网络 所有数据仅供参考
有疑问请联系站长 site.kefu@gmail.com