SpringBoot极简教程 · Spring Boot

IDEA springboot spring-boot-devt

2017-08-09  本文已影响180人  行者N

首先,IDEA设置里面这里必须打勾

Paste_Image.png

然后 Shift+Ctrl+Alt+/,选择Registry

Paste_Image.png Paste_Image.png

其次pom里增加

<dependency>
            <groupId>org.springframework.boot</groupId>
            <artifactId>spring-boot-devtools</artifactId>
            <optional>true</optional>
</dependency>

重启项目OK

上一篇 下一篇

猜你喜欢

热点阅读