maven更新不了jar包,show problems errors显示failed to read artifact descriptor for

本文介绍了解决Maven无法更新Jar包的问题方法。首先,通过project->clean清理项目,然后使用Maven->UpdateProject并勾选ForceUpdateOfSnapshots/Releases选项强制更新。此外,若开发工具处于离线模式,需取消该设置。

maven更新不了jar包,show problems errors显示failed to read artifact descriptor for...

解决办法:

1、project->clean

2、Maven->Update Project,勾选:Force Update Of Snapshots/Releases

即可。

另外一种可能性:开发工具的离线模式有关系,如下图,将红框中两个勾去掉可以解决:

 

[WARNING] The requested profile "yarn-build" could not be activated because it does not exist. [ERROR] Failed to execute goal on project application: Could not collect dependencies for project org.thingsboard.mqtt-broker:application:jar:2.2.0-SNAPSHOT [ERROR] Failed to read artifact descriptor for org.thingsboard.mqtt-broker:dao:jar:2.2.0-SNAPSHOT [ERROR] Caused by: The following artifacts could not be resolved: org.thingsboard.mqtt-broker:dao:pom:2.2.0-SNAPSHOT (absent): Could not transfer artifact org.thingsboard.mqtt-broker:dao:pom:2.2.0-SNAPSHOT from/to typesafe (https://repo.typesafe.com/typesafe/releases/): Connection reset [ERROR] Failed to read artifact descriptor for org.thingsboard.mqtt-broker.common.integration:cluster-integration-api:jar:2.2.0-SNAPSHOT [ERROR] Caused by: The following artifacts could not be resolved: org.thingsboard.mqtt-broker.common.integration:cluster-integration-api:pom:2.2.0-SNAPSHOT (absent): Could not transfer artifact org.thingsboard.mqtt-broker.common.integration:cluster-integration-api:pom:2.2.0-SNAPSHOT from/to typesafe (https://repo.typesafe.com/typesafe/releases/): Connection reset [ERROR] Failed to read artifact descriptor for org.thingsboard.mqtt-broker.common:actor:jar:2.2.0-SNAPSHOT [ERROR] Caused by: The following artifacts could not be resolved: org.thingsboard.mqtt-broker.common:actor:pom:2.2.0-SNAPSHOT (absent): Could not transfer artifact org.thingsboard.mqtt-broker.common:actor:pom:2.2.0-SNAPSHOT from/to typesafe (https://repo.typesafe.com/typesafe/releases/): Connection reset [ERROR] Failed to read artifact descriptor for org.thingsboard.mqtt-broker.common:queue:jar:2.2.0-SNAPSHOT [ERROR] Caused by: The following artifacts could not be resolved: org.thingsboard.mqtt-broker.common:queue:pom:2.2.0-SNAPSHOT (absent): Could not transfer artifact org.thingsboard.mqtt-broker.common:queue:pom:2.2.0-SNAPSHOT from/to typesafe (https://repo.typesafe.com/typesafe/releases/): Connection reset [ERROR] Failed to read artifact descriptor for org.thingsboard.mqtt-broker.common:util:jar:2.2.0-SNAPSHOT [ERROR] Caused by: The following artifacts could not be resolved: org.thingsboard.mqtt-broker.common:util:pom:2.2.0-SNAPSHOT (absent): Could not transfer artifact org.thingsboard.mqtt-broker.common:util:pom:2.2.0-SNAPSHOT from/to typesafe (https://repo.typesafe.com/typesafe/releases/): Connection reset [ERROR] Failed to read artifact descriptor for org.thingsboard.mqtt-broker.common:stats:jar:2.2.0-SNAPSHOT [ERROR] Caused by: The following artifacts could not be resolved: org.thingsboard.mqtt-broker.common:stats:pom:2.2.0-SNAPSHOT (absent): Could not transfer artifact org.thingsboard.mqtt-broker.common:stats:pom:2.2.0-SNAPSHOT from/to typesafe (https://repo.typesafe.com/typesafe/releases/): Connection reset [ERROR] Failed to read artifact descriptor for org.thingsboard.mqtt-broker:ui-ngx:jar:2.2.0-SNAPSHOT [ERROR] Caused by: The following artifacts could not be resolved: org.thingsboard.mqtt-broker:ui-ngx:pom:2.2.0-SNAPSHOT (absent): Could not transfer artifact org.thingsboard.mqtt-broker:ui-ngx:pom:2.2.0-SNAPSHOT from/to typesafe (https://repo.typesafe.com/typesafe/releases/): Connection reset [ERROR] Failed to read artifact descriptor for org.thingsboard.mqtt-broker:dao:jar:tests:2.2.0-SNAPSHOT [ERROR] Caused by: The following artifacts could not be resolved: org.thingsboard.mqtt-broker:dao:pom:2.2.0-SNAPSHOT (absent): org.thingsboard.mqtt-broker:dao:pom:2.2.0-SNAPSHOT failed to transfer from https://repo.typesafe.com/typesafe/releases/ during a previous attempt. This failure was cached in the local repository and resolution is not reattempted until the update interval of typesafe has elapsed or updates are forced. Original error: Could not transfer artifact org.thingsboard.mqtt-broker:dao:pom:2.2.0-SNAPSHOT from/to typesafe (https://repo.typesafe.com/typesafe/releases/): Connection reset [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
07-03
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值