复制
收藏
提问
全网

Failed to execute goal on project estateplat-olcommon: Could not resolve dependencies for project cn.gtmap:estateplat-olcommon:war:2.5.1-SNAPSHOT-20240807084055: The following artifacts could not be resolved: org.elasticsearch.plugin:x-pack-core:jar:6.2.4, com.hsoft.sfrz:tysfrzclient:jar:1.0.1, cn.gtmap:postmsg-ump:jar:2.4, cn.gtmap:commons-pool:jar:1.5.4, cn.gtmap:protobuf-java:jar:2.4.1, cn.gtmap:ahcapkiservers:jar:1.0.0, cn.gtmap:axis2-kernel:jar:1.6.1, cn.gtmap:axis2-adb:jar:1.6.1, cn.gtmap:axis2-transport-http:jar:1.6.1, cn.gtmap:axis2-transport-local:jar:1.6.1, cn.gtmap:axiom-api:jar:1.2.12, cn.gtmap:axiom-impl:jar:1.2.12, cn.gtmap:activation:jar:1.1, cn.gtmap:wstx-asl:jar:3.2.9, cn.gtmap:xwork:jar:2.0.3, cn.gtmap:ognl:jar:2.6.11, cn.gtmap:neethi:jar:3.0.1, cn.gtmap:mail:jar:1.4, com.tax.hit:Encrypt:jar:1.0.0, com.iflytek:wst-gateway-sdk-java:jar:1.0, cn.gtmap:support:jar:1.0, com.qiyuesuo.sdk:sdk-java:jar:3.4.8, com.cloud:java-sdk-core:jar:3.0.10: Could not find artifact org.elasticsearch.plugin:x-pack-core:jar:6.2.4 in aliyunmaven (https://maven.aliyun.com/repository/public) -> [Help 1] [ERROR]

b55025730
刚刚
全网
文档
学术
百科
知识库
时间不限
自动

理解问题Failed to execute goal on project estateplat-olcommon: Could not resolve dependencies for project cn.gtmap:estateplat-olcommon:war:2.5.1-SNAPSHOT-20240807084055: The following artifacts could not be resolved: org.elasticsearch.plugin:x-pack-core:jar:6.2.4, com.hsoft.sfrz:tysfrzclient:jar:1.0.1, cn.gtmap:postmsg-ump:jar:2.4, cn.gtmap:commons-pool:jar:1.5.4, cn.gtmap:protobuf-java:jar:2.4.1, cn.gtmap:ahcapkiservers:jar:1.0.0, cn.gtmap:axis2-kernel:jar:1.6.1, cn.gtmap:axis2-adb:jar:1.6.1, cn.gtmap:axis2-transport-http:jar:1.6.1, cn.gtmap:axis2-transport-local:jar:1.6.1, cn.gtmap:axiom-api:jar:1.2.12, cn.gtmap:axiom-impl:jar:1.2.12, cn.gtmap:activation:jar:1.1, cn.gtmap:wstx-asl:jar:3.2.9, cn.gtmap:xwork:jar:2.0.3, cn.gtmap:ognl:jar:2.6.11, cn.gtmap:neethi:jar:3.0.1, cn.gtmap:mail:jar:1.4, com.tax.hit:Encrypt:jar:1.0.0, com.iflytek:wst-gateway-sdk-java:jar:1.0, cn.gtmap:support:jar:1.0, com.qiyuesuo.sdk:sdk-java:jar:3.4.8, com.cloud:java-sdk-core:jar:3.0.10: Could not find artifact org.elasticsearch.plugin:x-pack-core:jar:6.2.4 in aliyunmaven (https://maven.aliyun.com/repository/public) -> [Help 1] [ERROR]

已完成理解Failed to execute goal on project estateplat-olcommon: Could not resolve dependencies for project cn.gtmap:estateplat-olcommon:war:2.5.1-SNAPSHOT-20240807084055: The following artifacts could not be resolved: org.elasticsearch.plugin:x-pack-core:jar:6.2.4, com.hsoft.sfrz:tysfrzclient:jar:1.0.1, cn.gtmap:postmsg-ump:jar:2.4, cn.gtmap:commons-pool:jar:1.5.4, cn.gtmap:protobuf-java:jar:2.4.1, cn.gtmap:ahcapkiservers:jar:1.0.0, cn.gtmap:axis2-kernel:jar:1.6.1, cn.gtmap:axis2-adb:jar:1.6.1, cn.gtmap:axis2-transport-http:jar:1.6.1, cn.gtmap:axis2-transport-local:jar:1.6.1, cn.gtmap:axiom-api:jar:1.2.12, cn.gtmap:axiom-impl:jar:1.2.12, cn.gtmap:activation:jar:1.1, cn.gtmap:wstx-asl:jar:3.2.9, cn.gtmap:xwork:jar:2.0.3, cn.gtmap:ognl:jar:2.6.11, cn.gtmap:neethi:jar:3.0.1, cn.gtmap:mail:jar:1.4, com.tax.hit:Encrypt:jar:1.0.0, com.iflytek:wst-gateway-sdk-java:jar:1.0, cn.gtmap:support:jar:1.0, com.qiyuesuo.sdk:sdk-java:jar:3.4.8, com.cloud:java-sdk-core:jar:3.0.10: Could not find artifact org.elasticsearch.plugin:x-pack-core:jar:6.2.4 in aliyunmaven (https://maven.aliyun.com/repository/public) -> [Help 1] [ERROR]

展开阅读网页

Maven 依赖解析失败

  • 依赖问题:Maven 构建过程中无法解析项目 estateplat-olcommon 的依赖项。
  • 错误详情:特定依赖如 org.elasticsearch.plugin:x-pack-core:6.2.4 等无法在 aliyunmaven 仓库中找到。

解决方案

  1. 检查仓库配置:确保 pom.xml 文件中配置的仓库地址正确,特别是 aliyunmaven 仓库是否正确设置。12
  2. 检查依赖版本:确认依赖项的版本号是否正确,以及是否存在于指定的仓库中。
  3. 清理和更新:运行 mvn clean 清理项目,然后执行 mvn update 尝试更新依赖。
  4. 手动下载:如果依赖确实无法在远程仓库中找到,尝试手动下载相关 jar 文件并放置到本地仓库中。
  5. 检查网络连接:确保 Maven 能够访问配置的远程仓库,网络问题有时也会导致依赖无法下载。3
更专业一些
转笔记
专业
Failed to execute goal on project estateplat-olcommon: Could not resolve dependencies for project cn.gtmap:estateplat-olcommon:war:2.5.1-SNAPSHOT-20240807084055: The following artifacts could not be resolved: org.elasticsearch.plugin:x-pack-core:jar:6.2.4, com.hsoft.sfrz:tysfrzclient:jar:1.0.1, cn.gtmap:postmsg-ump:jar:2.4, cn.gtmap:commons-pool:jar:1.5.4, cn.gtmap:protobuf-java:jar:2.4.1, cn.gtmap:ahcapkiservers:jar:1.0.0, cn.gtmap:axis2-kernel:jar:1.6.1, cn.gtmap:axis2-adb:jar:1.6.1, cn.gtmap:axis2-transport-http:jar:1.6.1, cn.gtmap:axis2-transport-local:jar:1.6.1, cn.gtmap:axiom-api:jar:1.2.12, cn.gtmap:axiom-impl:jar:1.2.12, cn.gtmap:activation:jar:1.1, cn.gtmap:wstx-asl:jar:3.2.9, cn.gtmap:xwork:jar:2.0.3, cn.gtmap:ognl:jar:2.6.11, cn.gtmap:neethi:jar:3.0.1, cn.gtmap:mail:jar:1.4, com.tax.hit:Encrypt:jar:1.0.0, com.iflytek:wst-gateway-sdk-java:jar:1.0, cn.gtmap:support:jar:1.0, com.qiyuesuo.sdk:sdk-java:jar:3.4.8, com.cloud:java-sdk-core:jar:3.0.10: Could not find artifact org.elasticsearch.plugin:x-pack-core:jar:6.2.4 in aliyunmaven (https://maven.aliyun.com/repository/public) -> [Help 1] [ERROR]
不在提醒

更专业内容正在努力生成中
知识树
Failed to execute goal on project estateplat-olcommon: Could not resolve dependencies for project cn.gtmap:estateplat-olcommon:war:2.5.1-SNAPSHOT-20240807084055: The following artifacts could not be resolved: org.elasticsearch.plugin:x-pack-core:jar:6.2.4, com.hsoft.sfrz:tysfrzclient:jar:1.0.1, cn.gtmap:postmsg-ump:jar:2.4, cn.gtmap:commons-pool:jar:1.5.4, cn.gtmap:protobuf-java:jar:2.4.1, cn.gtmap:ahcapkiservers:jar:1.0.0, cn.gtmap:axis2-kernel:jar:1.6.1, cn.gtmap:axis2-adb:jar:1.6.1, cn.gtmap:axis2-transport-http:jar:1.6.1, cn.gtmap:axis2-transport-local:jar:1.6.1, cn.gtmap:axiom-api:jar:1.2.12, cn.gtmap:axiom-impl:jar:1.2.12, cn.gtmap:activation:jar:1.1, cn.gtmap:wstx-asl:jar:3.2.9, cn.gtmap:xwork:jar:2.0.3, cn.gtmap:ognl:jar:2.6.11, cn.gtmap:neethi:jar:3.0.1, cn.gtmap:mail:jar:1.4, com.tax.hit:Encrypt:jar:1.0.0, com.iflytek:wst-gateway-sdk-java:jar:1.0, cn.gtmap:support:jar:1.0, com.qiyuesuo.sdk:sdk-java:jar:3.4.8, com.cloud:java-sdk-core:jar:3.0.10: Could not find artifact org.elasticsearch.plugin:x-pack-core:jar:6.2.4 in aliyunmaven (https://maven.aliyun.com/repository/public) -> [Help 1] [ERROR]
How to resolve Maven dependency issues?
Maven dependency resolution failure troubleshooting
How to fix 'Could not find artifact' error in Maven?
在线客服