spriing boot中有一个注解,是自动加载修改后的类或者文件。

使用方法为:

spring-boot-devtools=true

需要引入devtools包依赖:

<dependency>
    <groupId>org.springframework.boot</groupId>
    <artifactId>spring-boot-devtools</artifactId>
</dependency>

 

相关文章:

  • 2021-05-24
  • 2022-01-15
  • 2021-09-07
  • 2022-12-23
  • 2022-01-15
  • 2022-02-12
猜你喜欢
  • 2022-02-09
  • 2022-01-05
  • 2021-06-01
  • 2022-02-27
  • 2021-11-25
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案