wangzh1guo

1、引入热部署依赖

<!-- 热部署模块 -->
<dependency>
   <groupId>org.springframework.boot</groupId>
   <artifactId>spring-boot-devtools</artifactId>
   <optional>true</optional> <!-- 这个需要为 true 热部署才有效 -->
</dependency>

<plugin>
   <groupId>org.springframework.boot</groupId>
   <artifactId>spring-boot-maven-plugin</artifactId>
   <configuration>
      <fork>true</fork>
   </configuration>
</plugin>

2、修改IDEA开发工具配置

ctrl+shift+alt+/ :

 

 

分类:

技术点:

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2021-11-20
  • 2021-08-04
  • 2021-05-19
  • 2021-07-14
  • 2021-07-16
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2021-05-20
  • 2021-06-04
  • 2022-12-23
  • 2021-05-01
相关资源
相似解决方案