在春季启动时重新加载外部.yml文件

时间:2020-06-13 15:02:52

标签: java spring spring-boot properties yaml

我需要在Spring Boot中重新加载外部.yml文件。

我可以通过以下示例从.properties文件中实现此目标。

https://github.com/eugenp/tutorials/tree/master/spring-boot-modules/spring-boot-properties

我无法使用.yml文件来实现。

任何人都可以帮忙。

0 个答案:

没有答案