一、在maven父工程pom文件中添加依赖 二、在子工程中添加依赖 三、在IDEA中勾选 Build project automatically项 四、 Shift+Ctrl+Alt+/,选择Registry 勾选 compiler.automake,allow.when.app.running 再测试,修改代码就不用重启啦 相关文章: 2021-09-30 2021-09-22