Non-resolvable import POM: com.alibaba.cloud:spring-cloud-alibaba-dependencies:pom:{spring-cloud-alibaba.version} was not found in http://maven.aliyun.com/nexus/content/groups/public during a previous attempt. This failure was cached in the local repository and resolution is not reattempted until the update interval of nexus-aliyun has elapsed or updates are forced
idea买不起正版,盗版激活码三天两头失效,真的被搞伤了。今天下载了eclipse,准备用来替换idea。
刚开始使用时,就遇到了麻烦,导入maven依赖报错,错误提示如上。其实错误提示是比较明显的,就是说maven坐标在我配置的maven仓库http://maven.aliyun.com/nexus/content/groups/public
中找不到。我就好奇了,难道是我版本弄错了吗,于是疯狂改<properties>标签中的<spring-cloud-alibaba.version>的版本号,然后疯狂刷新maven,但是都无济于事。最后才发现是我引入的属性写错了,应该是${spring-cloud-alibaba.version},但我写的是{spring-cloud-alibaba.version}。这就很尴尬了,本来是一个很小的错误,但是由于eclipse中的提示不够明确,导致我排查了半天。
哎,记录一下这个坑。