Skip to content

Spring cloud 升级之后默认不读取 bootstrap 文件 #17

Description

@zoeminghong

描述:

在升级了 SC Version 2020.0.3、SB:2.5.4 后,bootstrap 文件不读取问题。

方案:

引入 spring-cloud-starter-bootstrap 依赖

        <dependency>
            <groupId>org.springframework.cloud</groupId>
            <artifactId>spring-cloud-starter-bootstrap</artifactId>
            <version>3.0.3</version>
        </dependency>

参考文档:

https://docs.spring.io/spring-cloud-config/docs/3.0.3/reference/html/#config-first-bootstrap

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions