Unresolved dependency: ‘com.alibaba.cloud:spring-cloud-starter-alibaba-nacos-config:jar:unknown‘

加上版本号即可,必须和spring cloud alibaba的版本号一致

<dependency>
   <groupId>com.alibaba.cloud</groupId>
   <artifactId>spring-cloud-starter-alibaba-nacos-config</artifactId>
   <version>2.2.5.RELEASE</version>
</dependency>

你可能感兴趣的:(小问题,jar,java,spring)