美文网首页
SpringBoot在IntelliJ中的热重载

SpringBoot在IntelliJ中的热重载

作者: 阿尔法二狗 | 来源:发表于2018-09-18 14:59 被阅读0次

加入dev dependency

<dependency>
    <groupId>org.springframework.boot</groupId>
    <artifactId>spring-boot-devtools</artifactId>
</dependency>

启用自动build

Settings --> Build-Execution-Deployment --> Compiler
启用项
Build Project Automatically

启用compiler.automake.allow.when.app.running

ctrl+shift+A输入registry,
启用项
compiler.automake.allow.when.app.running

相关文章

网友评论

      本文标题:SpringBoot在IntelliJ中的热重载

      本文链接:https://www.haomeiwen.com/subject/mkqizxtx.html