关于使用 IDEA Spring Boot 热部署

1,POM 中引用

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



2, 
image

3,
Shift+Ctrl+Alt+/

image

4,
image


启动 应用,好了,他会自动热部署了。


实现热部署有不少办法,但找个最简单的吧,毕竟写Java已经很值得同情了。
Spring Boot 也是的确已经够最简单的了。

其它问题未知,探索中

猜你喜欢

转载自www.cnblogs.com/zbw911/p/9236955.html
今日推荐