热部署的功能禁用办法如下: 在application.properties文件中设置: spring.devtools.restart.enabled=falseyml文件 spring.devtools.restart.enabled: false 参考资料: spring boot 热部署关闭