700字范文,内容丰富有趣,生活中的好帮手!
700字范文 > pom.xml中出现错误提示Failure to transfer org.jboss.weld.jar ...  maven2 was cached in the local repository.

pom.xml中出现错误提示Failure to transfer org.jboss.weld.jar ...  maven2 was cached in the local repository.

时间:2021-04-19 17:33:34

相关推荐

pom.xml中出现错误提示Failure to transfer org.jboss.weld.jar ...  maven2 was cached in the local repository.

pom.xml中出现以下错误提示:

Failure to transfer org.jboss.weld:weld-core:jar:1.0.1-SP3 from https://repo./

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.jboss.weld:weld-core:jar:1.0.1-SP3 from/to central (https://repo./maven2).

解决办法:

第一步:找到本地仓库中关于该jar文件的存储路径

第二步:将该路径下面的文件全部删除掉

第三步:在pom.xml中重新引入该jar的依赖,重新将该jar存储到本地仓库中

<!-- /artifact/org.jboss.weld/weld-core --><dependency><groupId>org.jboss.weld</groupId><artifactId>weld-core</artifactId><version>1.0.1-SP3</version></dependency>

本内容不代表本网观点和政治立场,如有侵犯你的权益请联系我们处理。
网友评论
网友评论仅供其表达个人看法,并不表明网站立场。