首先在idea里面下载JRebel插件 生成guid的网址 然后要做几步设置 设置Registry 快捷键: Shift+Ctrl+Alt+/ 点击 Registry 勾选 compiler.automake.allow.when.app.running