Spring Cloud 微服务开发:入门、进阶与源码剖析 —— 8.2 Spring Cloud Config 入门案例

8.2 Spring Cloud Config 入门案例

8.2.1 Spring Cloud Config Server端

  1. 创建Maven父级pom工程

在父级工程中,需要配置好父级工程依赖,目的是方便配置和简化管理,后续子工程无需添加相同依赖:

代码清单:ch8_1/pom.xml


<dependencies>
    <dependency>
        <groupId>org.springframework.boot</groupId>
        

猜你喜欢

转载自blog.csdn.net/meteor_93/article/details/104236111
今日推荐