Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

spring boot启动先加载application.properties配置文件后初始化applicationContext问题 #401

Open
chshzh2000 opened this issue Dec 21, 2018 · 5 comments

Comments

@chshzh2000
Copy link

SpringBoot 在启动的时候,Spring 先加载application配置文件,在初始化 applicationContext,而disconf的初始化在spring bean注册完成后,这就导致springboot启动时就无法引用到托管的配置文件,想确认一下是否的确存在这个问题???有没有解决方案?

@fengshuzi
Copy link

同问

1 similar comment
@xiaoxiaoleng
Copy link

同问

@xjzrc
Copy link

xjzrc commented Jan 29, 2019

@chshzh2000 @fengshuzi @Steinadler 能解决,具体可以参考我写的disconf-spring-boot-starter

@zhuchao941
Copy link

欢迎使用我们重新实现的disconf-client
https://github.com/zhuchao941/maintainable-disconf-client

完美解决配置加载时间靠后的问题

@fengshuzi
Copy link

@chshzh2000 @fengshuzi @Steinadler 能解决,具体可以参考我写的disconf-spring-boot-starter

看到太迟了,用了其它配置中心

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants