开发时导入了spring-boot-devtools
<dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-devtools</artifactId> <scope>runtime</scope> </dependency>
启动SpringBoot后, 修改代码保存后,没有重新加载进去。
最后发现,是eclipse中没有开启自动编译 , 开启自动编译即可。
springboot devtools
2020.11.18 21:24https://www.meihaocloud.com.com/126.html , 欢迎转载,请在文章页标出原文连接 !