Closed luanwenfei-venus closed 1 year ago
当application.yml与bootstrap.yml同时配置不同的spring.application.name时,springboot注册插件获取的配置为bootstrap.yml中的值,但实际上,在spring环境中,应该是application.yml中的值(比如@Value("${spring.application.name}"))
当application.yml与bootstrap.yml同时配置不同的spring.application.name
No response
This issue seems to be Stale. We will close it in a few days.
We close this issue because it hasn't been updated in a while. Remove Stale label if you want to reopen it.
What happened?
当application.yml与bootstrap.yml同时配置不同的spring.application.name时,springboot注册插件获取的配置为bootstrap.yml中的值,但实际上,在spring环境中,应该是application.yml中的值(比如@Value("${spring.application.name}"))
How can we reproduce it (as minimally and precisely as possible)?
当application.yml与bootstrap.yml同时配置不同的spring.application.name
Anything else we need to know?
No response
Sermant version
OS version