IDEA使用Java热部署插件-JRebel
安装JRebel
激活JRebel
- jrebel.qekang.com:80/{guid} ,guid在jrebel.qekang.com/ 这个网站获得
- 随便输入一个邮箱
- 同意并确认即可激活
设置自动编译项目,将Build project automatiacally选中
设置compiler.automake.allow.when.app.running
按住ctrl + shift + alt +/ 这四个键, 点击registry,将这个选项勾选上,如果已经勾选了,跳过此步骤即可。
设置生成rebel.xml
.gitignore
#JRebel
/**/rebel.xml