springboot 热更 2023.3
热更使用 devtools 或者 alt + shit + f9
idea
- 
File|Settings|Preferences | Build, Execution, Deployment | Compiler : Build project automatically 
- 
File|Settings|Preferences | Advanced Settings: Allow auto-make to start even if developed aplication is crrenty running 
- 
Ctrl + Shift + Alt + / 然后进入Registry : 
 compiler.automake.trigger.delay 100
 compile.document.save.trigger.delay 100
 compile.document.save.enable
gradle
implementation 'org.springframework.boot:spring-boot-devtools'
springboot
spring:
  application:
    name: dataExChangePlatform
  devtools:
    restart:
      enabled: true
      additional-paths: src/main/java
      exclude: WEB-INF/**
  freemarker:
    cache: false
本文来自博客园,作者:vx_guanchaoguo0,转载请注明原文链接:https://www.cnblogs.com/guanchaoguo/p/17061534.html
 
                    
                     
                    
                 
                    
                
 
                
            
         
         浙公网安备 33010602011771号
浙公网安备 33010602011771号