com.alibaba.cloud:spring-cloud-starter-alibaba-nacos-discovery:jar:unknown was not found in http://maven.aliyun.com/nexus/content/repositories/central/ during a previous attempt. This failure was cached in the local repository and resolution is not reattempted until the update interval of alimaven has elapsed or updates are forced
引入依赖的时候,没有指定版本号,报错。父工程中已经指定了依赖的版本,子工程中不用再指定了
原因首先是父工程中没有引用此模块
其次,<parent>标签直接使用父工程的
最后,重新编译成功
标签:http,spring,alibaba,com,unknown,was,cloud From: https://blog.csdn.net/m0_71472360/article/details/142854120