自动部署:
使用方法: 手动redeploy(如果看视频学java经常且idea和网页推荐) 或 使用idea的失去焦点自动热部署(XXXApplication/tomcat→ On frame deactivation → update classes and resources )
JRebel Idea 无法热部署Jsp文件 (浏览器)
原因: 使用的是浏览器的 前进/后退, 可能是浏览器记住了旧链接, 而没有使用到真正的新链接
热部署 xml:
1, 项目右键 → JRebel → onfigure module
2, 勾选 JRebel → General → Use relative paths in rebel.xml
// 感觉好像这么配置以后, 热部署效率都高了一些
搞完以后, 修改jsp/java都不用 update classes / redeploy / restart, 直接刷新, md , 简直完美
更多热部署
来源: https://www.chendd.cn/information/viewInformation/other/306.a