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>

 
                
            
         
         浙公网安备 33010602011771号
浙公网安备 33010602011771号