美文网首页
How to enable SpringBoot auto bu

How to enable SpringBoot auto bu

作者: 凸大愚若智凸 | 来源:发表于2022-04-28 23:07 被阅读0次
  • Add spring-boot-devtools to pom.xml
<dependencies>
  ...
  <dependency>
    <groupId>org.springframework.boot</groupId>
    <artifactId>spring-boot-devtools</artifactId>
    <version>2.6.5</version>
  </dependency>
  ...
</dependencies>
  • Auto build setting

    • VSCode: Settings -> Java -> Autobuild: Enabled
    • Idea: Settings --> Build-Execution-Deployment --> Compiler -> Build project automatically
  • Idea: Help --> Find Action ... -> Registry ... --> compiler.automake.allow.when.app.running

参考链接

相关文章

网友评论

      本文标题:How to enable SpringBoot auto bu

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