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

ext-config 中配置无法单独生效 #329

Open
xieshenace opened this issue Apr 27, 2024 · 0 comments
Open

ext-config 中配置无法单独生效 #329

xieshenace opened this issue Apr 27, 2024 · 0 comments

Comments

@xieshenace
Copy link

xieshenace commented Apr 27, 2024

<parent>
    <groupId>org.springframework.boot</groupId>
    <artifactId>spring-boot-starter-parent</artifactId>
    <version>2.6.7</version>
    <relativePath/> <!-- lookup parent from repository -->
  </parent>
<dependency>
    <groupId>com.alibaba.boot</groupId>
    <artifactId>nacos-config-spring-boot-starter</artifactId>
    <version>0.2.12</version>
  </dependency>
  <dependency>
    <groupId>org.springframework.boot</groupId>
    <artifactId>spring-boot-configuration-processor</artifactId>
  </dependency>
image image 可以获取到; 但是: image

必须要在根目录有data-id后,才能再ext-config 中配置其他配置;

我的需求是:会有不同组的不统配置,但是这样就不能完全写在ext-config中了。

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

1 participant