IDEA開啓熱部署

1,在pom.xml文件中添加如下依賴

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

2,點擊file -> settings -> Build,Execution,Deployment -> Complier 

選中Build project automatically

3,Shift + Ctrl +Alt +/ 選擇Registry

 

OK! 

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章