最近做的项目改个文件需要重新启动项目,特别浪费时间,所以想探索下热部署的方案。
Spring-boot项目热部署
经过自测:Spring-boot 1.5.6.RELEASE版本在Intellj可以做到自带热部署
搭建一个Spring-boot项目
maven依赖:
<properties>
<spring.boot.version>1.5.6.RELEASE</spring.boot.version>
</properties>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-web</artifactId>
<version>${spring.boot.version}</version>
</