Nacos 运行测试

第一次使用SpringBoot整合Nacos遇到了以下错误:


Could not find artifact com.alibaba.boot:nacos-config-spring-boot-starter:pom:0.1.1.RELEASE in central (https://repo.maven.apache.org/maven2)
尝试百度后有的说Nacos版本不一致造成依赖包找不到
后来根据https://blog.csdn.net/qq_33257527/article/details/86659764的依赖成功解决

<dependency>
            <groupId>com.alibaba.boot</groupId>
            <artifactId>nacos-config-spring-boot-starter</artifactId>
            <version>0.2.1</version>
 </dependency>
posted @ 2021-10-10 14:51  Primary丶  阅读(175)  评论(0编辑  收藏  举报