ideal热部署,自动重启。

发布时间:2026/7/18 23:29:21
ideal热部署,自动重启。 pom文件导入对于配置文件不会生效dependency groupIdorg.springframework.boot/groupId artifactIdspring-boot-devtools/artifactId version${spring.boot.version}/version scoperuntime/scope optionaltrue/optional /dependency启用自动构建文件File- 设置Settings构建、执行、部署Build, Execution, Deployment- 编译器Compiler勾选 构建项目自动Build project automatically检查运行配置点击运行按钮旁边的小三角形选择 编辑配置Edit Configurations...在 运行的应用程序更新策略Running Application Update Policies 部分确保 在更新操作时On Update action 设置为 更新类和资源Update classes and resources失焦时On frame deactivation 也可以设置为 更新类和资源Update classes and resources