当前位置: 首页 > 工具软件 > findjar > 使用案例 >

Maven : Failure to find jar

曹臻
2023-12-01
Failure to find org.apache.maven.plugins:maven-source-plugin:jar:3.1 in https://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

问题原因: 没有找到对应的jar,但由于本地缓存有相应的jar包,因此不会更新jar。

 

解决方案: 找到对应的jar,将其从本地仓库中删除,重新update project,由Maven重新拉去jar包。

右击项目,选择Maven,点击Update Project...

 类似资料:

相关阅读

相关文章

相关问答