I use spring cloud config server in spring boot.
There are two files in spring cloud config server repository.
common.yml hazelcast-common.yml
#common.yml
spring:
hazelcast:
config: classpath:hazelcast-common.yml
#hazelcast-common.yml
hazelcast:
...
...
...
#client yml
spring:
config:
import:
configserver:http://localhost:8888
spring cloud config client run -> recognize common.yml -> but not recognize hazelcast-common.yml
client error log
Caused by: java.lang.IllegalArgumentException: Hazelcast configuration does not exist 'class path resource hazelcast-common.yml
Comment From: ryanjbaxter
Thats because properties files from the config server are not on the classpath. The properties contained in the properties files the config server returned are added to the Environment.
Comment From: leechoongyon
Thank you for your reply. Please close the issue.