SpringBoot-热部署

1、pom.xml 文件中添加代码

<!-- 引入DevTools热部署 -->
<dependency>
	<groupId>org.springframework.boot</groupId>
	<artifactId>spring-boot-devtools</artifactId>
	<scope>runtime</scope>
	<optional>true</optional>
</dependency>

2、设置中勾选
1754051749876
3、设置->高级设置->搜索【allow】
1754051890677
设置完成!注意:不同版本IntelliJ IDEA设置可能略有不同

posted @ 2025-08-01 20:41  Yichen_liuuil  阅读(15)  评论(0)    收藏  举报