第一步:引入maven依赖
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-devtools</artifactId>
<optional>true</optional>
</dependency>
第二步:在IDEA中设置以下两项
(1)“File” -> “Settings” -> “Build,Execution,Deplyment” -> “Compiler”,选中打勾 “Build project automatically” 。
(2)键盘组合键:“Shift+Ctrl+Alt+/” ,选择 “Registry” ,选中打勾 “compiler.automake.allow.when.app.running”
博客介绍了在IDEA中实现maven项目自动构建的步骤。首先要引入maven依赖,接着在IDEA里进行两项设置,一是在特定路径选中“Build project automatically”,二是通过键盘组合键进入“Registry”选中“compiler.automake.allow.when.app.running”。
5066

被折叠的 条评论
为什么被折叠?



