解决maven install 时 依赖的本地jar无法找到的问题

maven install报错如下:(文章中的xxx指的是你的jar名字)

Failed to execute goal on project xxxx: Could not resolve dependencies for project xxxx:war:1.0.0: Failed to collect dependencies at xxxxxx:jar:1.2.0: Failed to read artifact descriptor for xxx:xxxx:jar:1.2.0: Failure to find xxx:2.0.0 in http://maven.aliyun.com/nexus/content/groups/public/ was cached in the local repository, resolution will not be reattempted until the update interval of ali has elapsed or updates are forced -> [Help 1]

解决办法:

找到本地仓库jar对应的目录,修改_remote.repositories文件里的xxx.pom>=为xxx.pom>nexus=

 

 

 

from :https://www.cnblogs.com/rjsky/p/13476117.html

posted @   L云烟成雨  阅读(1138)  评论(0编辑  收藏  举报
相关博文:
阅读排行:
· 没有Manus邀请码?试试免邀请码的MGX或者开源的OpenManus吧
· 无需6万激活码!GitHub神秘组织3小时极速复刻Manus,手把手教你使用OpenManus搭建本
· C#/.NET/.NET Core优秀项目和框架2025年2月简报
· DeepSeek在M芯片Mac上本地化部署
· 葡萄城 AI 搜索升级:DeepSeek 加持,客户体验更智能
点击右上角即可分享
微信分享提示