nacos动态加载bean

This commit is contained in:
2026-02-02 15:54:44 +08:00
parent 872be51082
commit 50ac15a8f7
12 changed files with 176 additions and 18 deletions
+11 -2
View File
@@ -98,9 +98,18 @@
</dependency>
<!-- Nacos 配置中心 -->
<!-- <dependency> -->
<!-- <groupId>com.alibaba.boot</groupId> -->
<!-- <artifactId>nacos-config-spring-boot-starter</artifactId> -->
<!-- </dependency> -->
<dependency>
<groupId>com.alibaba.boot</groupId>
<artifactId>nacos-config-spring-boot-starter</artifactId>
<groupId>com.alibaba.cloud</groupId>
<artifactId>spring-cloud-starter-alibaba-nacos-config</artifactId>
</dependency>
<dependency>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-starter-bootstrap</artifactId>
</dependency>
</dependencies>