Failed to read artifact descriptor for avalon-framework:avalon-framework-api:jar:4.1.5-dev

導入maven項目以後出現如下錯誤信息:


ArtifactDescriptorException: Failed to read artifact descriptor for avalon-framework:avalon-framework-api:jar:4.1.5-dev: ArtifactResolutionException: Failure to transfer avalon-framework:avalon-framework-api:pom:4.1.5-dev from https://xerces.apache.org/xerces2-j/ was cached in the local repository, resolution will not be reattempted until the update interval of xerces has elapsed or updates are forced. Original error: Could not transfer artifact avalon-framework:avalon-framework-api:pom:4.1.5-dev from/to xerces (https://xerces.apache.org/xerces2-j/): Connect times out pom.xml/jeewx
line 1Maven Dependency Problem


解決辦法:

一、修改.m2/repository/avalon-framework/avalon-framework-api/裏所有的xml文件,把
<version>4.1.5-dev</version>
這一行刪掉
二、把.m2/repository/avalon-framework/avalon-framework-api/4.1.5-dev/文件夾刪掉。
三、刷新maven配置


發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章