热部署正解
1.在底部功能导航中找到“Application Servers”,右键选择“Edit Configuration”

2.在deployment选项卡中将项目部署方式设置为“exployed”类型

3.在Server选项卡中选择“On frame deactivation”为“Update classes and resources”

4.关键点:把最下面Before launch中除了“Build ‘xxx’ artifact”之外的Build都删掉
5.实验证明只能自动更新class和jsp等,对于xml配置,无法更新。看到下面的提示代表已经自动更新了

6.手动催更方法

参考:https://blog.csdn.net/qq_16148137/article/details/99694566
网友评论