我是靠谱客的博主 复杂饼干,这篇文章主要介绍spring boot实现不用重启就能动态编译修改的代码,现在分享给大家,希望可以做个参考。

https://stackoverflow.com/questions/45639904/intelijj-idea-springboot-devtools

 

spring boot实现不用重启就能动态编译修改的代码

 

This a guide I used some time ago to make it work: https://www.mkyong.com/spring-boot/intellij-idea-spring-boot-template-reload-is-not-working/

Basically you have two do 2 things:

  1. Enable "Build project automatically" from Settings->Build, Execution, Deployment->Compiler
  2. Go to Registry(Ctrl+A, type "Registry") and enable compiler.automake.allow.when.app.running and ide.windowSystem.autoShowProcessPopup

最后

以上就是复杂饼干最近收集整理的关于spring boot实现不用重启就能动态编译修改的代码的全部内容,更多相关spring内容请搜索靠谱客的其他文章。

本图文内容来源于网友提供,作为学习参考使用,或来自网络收集整理,版权属于原作者所有。
点赞(114)

评论列表共有 0 条评论

立即
投稿
返回
顶部