我想找出解决这个难题的最好方法。
spring: cloud: enabled: true config: fail-fast: true discovery: enabled: true serviceId: configserver
当我启动Eureka时,她不知道Config在哪里,所以她不能从中挑选任何东西。解决这个问题的最佳方法是什么?
发布于 2017-07-21 08:49:49
在你的尤里卡bootstrap.yml:
spring:
application:
name: your_config_file_name
cloud:
config:
enabled: true
failFast: true
uri: the_uri_of_the_config_serverhttps://stackoverflow.com/questions/38201512
复制相似问题