手抄报 安全手抄报 手抄报内容 手抄报图片 英语手抄报 清明节手抄报 节约用水手抄报

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热部署
© 手抄报圈