第一步:添加devtools依赖
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-devtools</artifactId>
<scope>runtime</scope>
<optional>true</optional>
</dependency>
要确保依赖成功导入
第二步,打开设置(ctrl+alt+s),搜索Compiler勾选上Build project automatically
版权属于:乐心湖's Blog
本文链接:https://www.xn2001.com/archives/382.html
声明:博客所有文章除特别声明外,均采用 CC BY-SA 4.0 协议 ,转载请注明出处!