SpringBoot IDEA热部署 2018-06-11 IDE SpringBoot IDEA热部署pom.xml的dependency123456<dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-devtools</artifactId> <!--<scope>runtime</scope>--> <optional>true</optional></dependency> pom.xml的build1234567<plugin> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-maven-plugin</artifactId> <configuration> <fork>true</fork> </configuration> <!--<addResources>true</addResources>--> </plugin> application.yml关闭缓存123spring: thymeleaf: cache: false 开启自动编译123// 在IDEA的配置中配置自动化编译File -> Settings -> Build, Execution, Deployment -> Compiler -> Build project automatically //勾选// apply 配置Registry (Ctrl+Shift+A => Registry)1compiler.automake.allow.when.app.running //勾选 -> Close 最后更新时间:2019-07-25 10:06:23 这里可以写作者留言,标签和 hexo 中所有变量及辅助函数等均可调用,示例:http://yoursite.com/2018/06/11/springboot-idea-automake/ 赏 Prev SQL编码优化 Next Linux系统Tomcat项目部署