maven install编译出错
项目可以运行,但install编译不通过解决
报错如下:
Could not transfer artifact com.google.collections:google-collections:pom:1.0 from/to nexus (http://127.0.0.1:8081/nexus/content/repositories/aliyun/): transfer failed for http://127.0.0.1:8081/nexus/content/repositories/aliyun/com/google/collections/google-collections/1.0/google-collections-1.0.pom
在执行Maven install时遇到错误,无法从Nexus仓库下载com.google.collections:google-collections:1.0的pom文件。解决方案是找到报错的具体jar,删除_remote.repositories文件,然后执行clean和install命令以重新尝试编译。
2697

被折叠的 条评论
为什么被折叠?



