正如spencergibb在此处建议的那样,并按照官方文档的建议创建一个
bootstrap.yml文件:
spring: cloud: enabled: true config: uri: http://config-server:8888 failFast: true retry: maxAttempts: 20
并从中删除上述包含的属性
application.yml。

正如spencergibb在此处建议的那样,并按照官方文档的建议创建一个
bootstrap.yml文件:
spring: cloud: enabled: true config: uri: http://config-server:8888 failFast: true retry: maxAttempts: 20
并从中删除上述包含的属性
application.yml。