我是靠谱客的博主 烂漫八宝粥,这篇文章主要介绍springboot配置为开发模式(热加载),现在分享给大家,希望可以做个参考。

在pom.xml文件中加入两个依赖:

复制代码
1
2
3
4
5
6
7
8
9
<dependency> <groupId>org.springframework</groupId> <artifactId>springloaded</artifactId> </dependency> <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-devtools</artifactId> </dependency>

即可实现动态加载,为开发者模式,不必每次再去重新启动项目运行。

最后

以上就是烂漫八宝粥最近收集整理的关于springboot配置为开发模式(热加载)的全部内容,更多相关springboot配置为开发模式(热加载)内容请搜索靠谱客的其他文章。

本图文内容来源于网友提供,作为学习参考使用,或来自网络收集整理,版权属于原作者所有。
点赞(69)

评论列表共有 0 条评论

立即
投稿
返回
顶部