org.springframework.boot.context.properties.ConfigurationBeanFactoryMetadata

墨尘 201 0

SpringBoot SpringCloud 整合Nacos 版本问题

Spring Boot

<>spring-boot-starter-parent</>
<>org.springframework.boot</>
<>2.6.1</>

Spring Cloud

<>
    <>org.springframework.cloud</>
    <>spring-cloud-dependencies</>
    <>2021.0.0</>
    <>pom</>
    <>import</>
</>

:
<groupId>com.alibaba.cloud</groupId>
<artifactId>spring-cloud-alibaba-dependencies</artifactId>
<version>2.2.0.RELEASE</version>

:
<dependency>
    <groupId>com.alibaba.cloud</groupId>
    <artifactId>spring-cloud-starter-alibaba-nacos-discovery</artifactId>
    <version>2021.1</version>
</dependency>

刷新maven即可


标签: #java #spring #nacos

  • 评论列表

留言评论