maven sync异常(sync resolve dependencies error)

当遇到Maven同步问题时,一种有效的解决方案是复制一个新的本地仓库,并将Maven配置指向这个新仓库。操作步骤包括切换到新仓库,然后执行`reimport`以刷新依赖。这种方法能帮助开发者快速恢复项目的正常构建。

maven 同步异常好烦,怎么拒绝呢?

解决方法,拷贝一份新的本地仓库,maven的本地仓库指向新的maven仓库,

watermark,type_d3F5LXplbmhlaQ,shadow_50,text_Q1NETkBjb250aW51ZWJyZWFr,size_20,color_FFFFFF,t_70,g_se,x_16

然后

watermark,type_d3F5LXplbmhlaQ,shadow_50,text_Q1NETkBjb250aW51ZWJyZWFr,size_20,color_FFFFFF,t_70,g_se,x_16 

最后

reimport

 

 

 

[ERROR] Failed to execute goal on project crawler-plugin: Could not resolve dependencies for project com.xyy.saas.datasync:crawler-plugin:jar:1.0-SNAPSHOT [ERROR] dependency: xyy.encryp:bsApi-2.5.0-shaded:jar:1.0 (compile) [ERROR] xyy.encryp:bsApi-2.5.0-shaded:jar:1.0 was not found in https://maven.aliyun.com/repository/public during a previous attempt. This failure was cached in the local repository and resolution is not reattempted until the update interval of aliyunmaven has elapsed or updates are forced [ERROR] dependency: xyy.encryp:XYYUtil:jar:1.0 (compile) [ERROR] xyy.encryp:XYYUtil:jar:1.0 was not found in https://maven.aliyun.com/repository/public during a previous attempt. This failure was cached in the local repository and resolution is not reattempted until the update interval of aliyunmaven has elapsed or updates are forced [ERROR] dependency: net.jimmc:jshortcut:jar:0.4-oberzalek (compile) [ERROR] net.jimmc:jshortcut:jar:0.4-oberzalek was not found in https://maven.aliyun.com/repository/public during a previous attempt. This failure was cached in the local repository and resolution is not reattempted until the update interval of aliyunmaven has elapsed or updates are forced [ERROR] [ERROR] -> [Help 1] [ERROR] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch. [ERROR] Re-run Maven using the -X switch to enable full debug logging. [ERROR] [ERROR] For more information about the errors and possible solutions, please read the following articles: [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/DependencyResolutionException
最新发布
11-01
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值