maven專案的pom.xml檔案出現紅色錯誤提示:ArtifactTransferException: Failure to transfer
阿新 • • 發佈:2018-12-13
maven專案的pom.xml檔案出現紅色錯誤提示,滑鼠放上去提示:
ArtifactTransferException: Failure to transfer org.deeplearning4j:deeplearning4j-ui-model:jar:0.7.1 from http://repo.maven.apache.org/maven2 was cached in the local repository, resolution will not be reattempted until the update interval of central has elapsed or updates are forced. Original error: Could not transfer artifact org.deeplearning4j:deeplearning4j-ui-model:jar:0.7.1 from/to central (http://repo.maven.apache.org/maven2): The operation was cancelled.原因是maven本地倉庫沒有對應的jar包,需要需maven中央庫下載下來,操作如下:
專案右鍵,使用maven外掛clean一下然後再install一下就好了,會自動從網路上下載jar包到本地倉庫,下載完後重新整理一下專案即可。
轉至:https://blog.csdn.net/zhengxiangwen/article/details/65627887