环境版本
第1步:
在pom.xml
文件中添加spring-boot-devtools
依赖库<dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-devtools</artifactId> <scope>runtime</scope> <optional>true</optional> </dependency>
第2步:修改
Compiler
设置,勾选中如下选项preferences... -> Compiler->Build project automatically
第3步:修改
Advanced Settings
,并勾选相关选项preferences... -> Advanced Settings -> Allow auto-make to start even if developed application is currently running