Springboot 动态刷新的几点注意

一、bootstrap.yml中的配置属性 没法动态刷新 只能添加在application.yml中 二、须要在调用的地方添加@RefreshScope、不能只在Application上添加 3 、须要引入依赖java <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-
相关文章
相关标签/搜索