引入依赖: 在pom.xml文件里添加devtools插件 ,添加true
IDEA配置修改:
1>点击File–Settings–Build,Execution,Deployment–Compiler,然后再进行下图所示的勾选。
2>使用快捷键Controller+Shift+A,输入Registry,勾选compiler.automake.allow.when.app.running,点击应用
3>重启IDEA即可
引入依赖: 在pom.xml文件里添加devtools插件 ,添加true
IDEA配置修改:
1>点击File–Settings–Build,Execution,Deployment–Compiler,然后再进行下图所示的勾选。
2>使用快捷键Controller+Shift+A,输入Registry,勾选compiler.automake.allow.when.app.running,点击应用
3>重启IDEA即可