spring boot DevTools 热部署 (mac 最新idea)

  • pom.xml
 
        org.springframework.boot
        spring-boot-devtools
        true
    

这里都一样的,没啥好说的

  • 这一步也是一样的,没啥好说的


    image.png
  • 关键一步来了,很多文章介绍IntelliJ IDEA开启热部署功能都会写到在IntelliJ IDEA中的注册表中开启compiler.automake.allow.when.app.running选项,此选项在IntelliJ IDEA 2021.2之后的版本迁移到高级设置中。如下图所示:


    image.png

其他的照着以前的做就行了

你可能感兴趣的:(spring boot DevTools 热部署 (mac 最新idea))