玄子Share- IDEA 2023 热部署
添加热部署依赖
普通 Web 项目使用热部署插件需指定版本
xml
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-devtools</artifactId>
<version>3.1.3</version>
<!-- 设置为true 热部署才有效 -->
<optional>true</optional>
</dependency>
修改 IDEA 部署设置
IDEA 勾选如下选项


修改项目启动设置
测试
修改页面代码后,Ctrl + S
保存设置,F5
刷新浏览器即可
玄子Share- IDEA 2023 热部署 10.08