在pom.xml文件中加入两个依赖:
<dependency>
<groupId>org.springframework</groupId>
<artifactId>springloaded</artifactId>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-devtools</artifactId>
</dependency>
即可实现动态加载,为开发者模式,不必每次再去重新启动项目运行。
最后
以上就是烂漫八宝粥最近收集整理的关于springboot配置为开发模式(热加载)的全部内容,更多相关springboot配置为开发模式(热加载)内容请搜索靠谱客的其他文章。
本图文内容来源于网友提供,作为学习参考使用,或来自网络收集整理,版权属于原作者所有。
发表评论 取消回复