1.

spring.thymeleaf.cache=false

2.加入DEV-tools依赖

        <!--让项目支持热更新-->
        <dependency>
            <groupId>org.springframework.boot</groupId>
            <artifactId>spring-boot-devtools</artifactId>
            <optional>true</optional>
        </dependency>

3.快捷键Ctrl+Alt+s调出设置Compiler->Build project automatically

4.快捷键Ctrl+Shift+Alt+/调出弹出窗口点击Registry

Springboot thymeleaf热部署

 

 选中compiler.automake.allow.when.app.running

相关文章:

  • 2021-09-25
  • 2021-05-03
  • 2021-06-16
  • 2021-06-20
  • 2021-07-20
猜你喜欢
  • 2021-09-11
  • 2021-12-12
  • 2021-07-20
  • 2022-12-23
  • 2021-08-15
  • 2021-05-15
  • 2021-07-05
相关资源
相似解决方案