spring-boot 热部署
总结几点网上基本搜不到的问题:
1.项目名称必须符合一定要求,否则再怎么搞你热部署也没用。(我学的时候遇到的大坑)
项目名称绝对不能与列出的几个名称相同,否则绝对不能热部署,请分析官网的这句话:网址:https://docs.spring.io/spring-boot/docs/2.1.2.RELEASE/reference/htmlsingle/
When deciding if an entry on the classpath should trigger a restart when it changes, DevTools automatically ignores projects named spring-boot, spring-boot-devtools, spring-boot-autoconfigure, spring-boot-actuator, and spring-boot-starter.
spring-boot spring-boot-devtools spring-boot-autoconfigure spring-boot-actuator spring-boot-starter