1.添加依赖

	compile 'org.springframework.boot:spring-boot-devtools'


2.设置IDEA

idea gradle 配置spring boot dev-tools热部署


3.保存后回到主页面,Shift+Ctrl+Alt+/ 选择Registry

      idea gradle 配置spring boot dev-tools热部署


4.勾选complier.automake.allow.when.app.running

idea gradle 配置spring boot dev-tools热部署


5.重启项目 完成

相关文章:

  • 2021-07-22
  • 2022-01-04
  • 2021-06-13
  • 2021-11-16
  • 2022-12-23
  • 2021-11-26
  • 2021-04-15
猜你喜欢
  • 2022-12-23
  • 2021-06-29
  • 2021-11-11
  • 2021-09-19
  • 2021-10-21
  • 2022-01-12
相关资源
相似解决方案