pom.xml文件修改
1.在dependencies 下添加
<dependency>
    <groupId>org.springframework.boot</groupId>
    <artifactId>spring-boot-devtools</artifactId>
    <scope>runtime</scope>
</dependency>

2.在build > plugins > plugin 下添加
    <configuration>
        <fork>true</fork>
    </configuration>

3.file > Build,Execution,Deployment > Compiler
勾选 Build project automatically

4.Crtl+Alt+Shift+/
勾选 compiler.automake.allow.when.app.running

5.浏览器控制台[禁止缓存]
勾选 Network > Disable cache

 



 

相关文章:

  • 2021-12-09
  • 2021-07-30
  • 2022-01-06
  • 2022-01-07
  • 2022-12-23
  • 2021-09-20
  • 2022-12-23
猜你喜欢
  • 2021-05-22
  • 2022-12-23
  • 2022-12-23
  • 2021-07-13
  • 2021-05-31
  • 2021-09-21
  • 2022-12-23
相关资源
相似解决方案