1. 程式人生 > >maven專案構建報錯Missing artifact com.****:jar:

maven專案構建報錯Missing artifact com.****:jar:

maven專案執行update時候報錯如下

Description Resource Path Location Type

Missing artifact com.iflytek.sgy:fastdfs-db:jar:1.2pom.xml /YZT-DataTransfer-CHUZHOU-V1.2 line 65 Maven Dependency Problem

Description Resource Path Location Type

The container 'Maven Dependencies' references non existinglibrary'E:\development\mavenRepotest\mavenRepo\com\iflytek\sgy\fastdfs-db\1.2\fastdfs-db-1.2.jar'YZT-DataTransfer-CHUZHOU-V1.2 Build path Build Path Problem

找到對應的目錄發現只有兩個字尾為.update的東西


刪除後再次執行update,又出現了,確認為遠端倉庫沒有這個jar包。

解決方法:找開發組的其他道友拷貝一下這個jar包然後放到對應的目錄就好了。