收到致命警报:protocol_version 和“parent.relativePath”指向错误的本地 POM
Posted
技术标签:
【中文标题】收到致命警报:protocol_version 和“parent.relativePath”指向错误的本地 POM【英文标题】:Received fatal alert: protocol_version and 'parent.relativePath' points at wrong local POM 【发布时间】:2020-06-01 00:07:24 【问题描述】:我正在学习 git 项目:“https://github.com/spring-cloud/spring-cloud-zookeeper”,当我将项目导入 intellij IDEA IDE,并在终端中运行 mvn --settings .settings.xml 包时,它显示错误:
spring-cloud-zookeeper-master>mvn --settings .settings.xml package
[INFO] Scanning for projects...
Downloading: https://repo.spring.io/libs-snapshot-local/org/springframework/cloud/spring-cloud-build/3.0.0.BUILD-SNAPSHOT/maven-metadata.xml
[WARNING] Could not transfer metadata org.springframework.cloud:spring-cloud-build:3.0.0.BUILD-SNAPSHOT/maven-metadata.xml from/to spring-snapshots (https://repo.spring.io/libs-snapsho
t-local): Received fatal alert: protocol_version
Downloading: https://repo.spring.io/libs-snapshot-local/org/springframework/cloud/spring-cloud-build/3.0.0.BUILD-SNAPSHOT/spring-cloud-build-3.0.0.BUILD-SNAPSHOT.pom
[ERROR] The build could not read 1 project -> [Help 1]
[ERROR]
[ERROR] The project org.springframework.cloud:spring-cloud-zookeeper:3.0.0.BUILD-SNAPSHOT (D:\projects\study\spring-cloud-zookeeper-master\pom.xml) has 1 error
[ERROR] Non-resolvable parent POM: Could not transfer artifact org.springframework.cloud:spring-cloud-build:pom:3.0.0.BUILD-SNAPSHOT from/to spring-snapshots (https://repo.spring.i
o/libs-snapshot-local): Received fatal alert: protocol_version and 'parent.relativePath' points at no local POM @ line 14, column 10 -> [Help 2]
[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/ProjectBuildingException
[ERROR] [Help 2] http://cwiki.apache.org/confluence/display/MAVEN/UnresolvableModelException
【问题讨论】:
您解决了这个问题吗? (我在普通的 SpringBoot 应用程序中遇到了同样的错误)。 【参考方案1】:尝试激活使用插件注册表。
【讨论】:
以上是关于收到致命警报:protocol_version 和“parent.relativePath”指向错误的本地 POM的主要内容,如果未能解决你的问题,请参考以下文章
收到致命警报:protocol_version 构建失败 Gradle/Maven
Apple Pay 证书更新 | SSLHandshakeException:收到致命警报:handshake_failure
SSLHandshakeException:收到致命警报:handshake_failure
javax.net.ssl.SSLHandshakeException:收到致命警报:handshake_failure