oh_jack 2010-12-28 11:27
浏览 578
已采纳

关于maven仓库的问题 Missing artifact

我建了一个私服nexus
nexus有公共库包含了中央库和三方库和apache的快照库

配置镜像是从私服下载

nexus
Nexus
*
http://127.0.0.1:8081/nexus/content/groups/public/


项目中配置


commons-logging
commons-logging
1.1.1

项目中报错
10-12-28 上午11时05分58秒: [WARN] The POM for commons-logging:commons-logging:jar:1.1.1 is missing, no dependency information available
10-12-28 上午11时05分58秒: Missing artifact commons-logging:commons-logging:jar:1.1.1:compile

但是我看
http://127.0.0.1:8081/nexus/content/repositories/central/commons-logging/commons-logging/1.1.1/是有这个jar的
http://127.0.0.1:8081/nexus/content/repositories/public/中没有

Download Remote Indexes 也设成了true 也reindex过了 index都很正常 jar也能搜到

我是初学者,很是不理解
是什么原因呢 哪位大侠解释下????

  • 写回答

9条回答

  • beneo 2010-12-29 10:42
    关注

    不应该出现这种问题的,你看看你自己有没有设置proxy,你mvn clean一下看看

    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论
查看更多回答(8条)

报告相同问题?