首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >POM错误:在https://repo.maven.apache.org/maven2中找不到com.redhat.quarkus:quarkus-universe-bom:pom:1.3.2.Final-redhat-00001

POM错误:在https://repo.maven.apache.org/maven2中找不到com.redhat.quarkus:quarkus-universe-bom:pom:1.3.2.Final-redhat-00001
EN

Stack Overflow用户
提问于 2021-03-16 03:13:10
回答 2查看 145关注 0票数 0

我正在尝试了解更多关于kafka streams和quarkus的信息,并且我正在尝试部署来自github https://github.com/kgshukla/data-streaming-kafka-quarkus的样例流应用程序。但是,每次我运行quarkus时,我都会收到以下错误。我检查了pom.xml,但我看不出有什么问题。我直接从存储库克隆了示例应用程序,并且没有做任何更改

代码语言:javascript
复制
[INFO] Scanning for projects...
[ERROR] [ERROR] Some problems were encountered while processing the POMs:
[ERROR] Non-resolvable import POM: Failure to find com.redhat.quarkus:quarkus-universe-bom:pom:1.3.2.Final-redhat-00001 in https://repo.maven.apache.org/maven2 was cached in the local repository, resolution will not be reattempted until the update interval of central has elapsed or updates are forced @ line 23, column 19
[ERROR] 'dependencies.dependency.version' for io.quarkus:quarkus-resteasy:jar is missing. @ line 33, column 17
[ERROR] 'dependencies.dependency.version' for io.quarkus:quarkus-junit5:jar is missing. @ line 37, column 17
[ERROR] 'dependencies.dependency.version' for io.rest-assured:rest-assured:jar is missing. @ line 42, column 17
[ERROR] 'dependencies.dependency.version' for io.quarkus:quarkus-kafka-client:jar is missing. @ line 47, column 17
[ERROR] 'dependencies.dependency.version' for io.quarkus:quarkus-spring-web:jar is missing. @ line 51, column 17
[ERROR] 'dependencies.dependency.version' for io.quarkus:quarkus-kafka-streams:jar is missing. @ line 55, column 17
 @ 
[ERROR] The build could not read 1 project -> [Help 1]
[ERROR]   
[ERROR]   The project org.acme:quarkus-kafka-streaming:1.0.0-SNAPSHOT (/Users/mariahito/Desktop/quarkus-apps/kafka-docker/data-streaming-kafka-quarkus/quarkus-kafka-streaming/pom.xml) has 7 errors
[ERROR]     Non-resolvable import POM: Failure to find com.redhat.quarkus:quarkus-universe-bom:pom:1.3.2.Final-redhat-00001 in https://repo.maven.apache.org/maven2 was cached in the local repository, resolution will not be reattempted until the update interval of central has elapsed or updates are forced @ line 23, column 19 -> [Help 2]
[ERROR]     'dependencies.dependency.version' for io.quarkus:quarkus-resteasy:jar is missing. @ line 33, column 17
[ERROR]     'dependencies.dependency.version' for io.quarkus:quarkus-junit5:jar is missing. @ line 37, column 17
[ERROR]     'dependencies.dependency.version' for io.rest-assured:rest-assured:jar is missing. @ line 42, column 17
[ERROR]     'dependencies.dependency.version' for io.quarkus:quarkus-kafka-client:jar is missing. @ line 47, column 17
[ERROR]     'dependencies.dependency.version' for io.quarkus:quarkus-spring-web:jar is missing. @ line 51, column 17
[ERROR]     'dependencies.dependency.version' for io.quarkus:quarkus-kafka-streams:jar is missing. @ line 55, column 17
[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
(base) Marias-MBP:quarkus-kafka-streaming mariahito$ ./mvnw quarkus:dev
[INFO] Scanning for projects...
[ERROR] [ERROR] Some problems were encountered while processing the POMs:
[ERROR] Non-resolvable import POM: Failure to find com.redhat.quarkus:quarkus-universe-bom:pom:1.3.2.Final-redhat-00001 in https://repo.maven.apache.org/maven2 was cached in the local repository, resolution will not be reattempted until the update interval of central has elapsed or updates are forced @ line 23, column 19
[ERROR] 'dependencies.dependency.version' for io.quarkus:quarkus-resteasy:jar is missing. @ line 33, column 17
[ERROR] 'dependencies.dependency.version' for io.quarkus:quarkus-junit5:jar is missing. @ line 37, column 17
[ERROR] 'dependencies.dependency.version' for io.rest-assured:rest-assured:jar is missing. @ line 42, column 17
[ERROR] 'dependencies.dependency.version' for io.quarkus:quarkus-kafka-client:jar is missing. @ line 47, column 17
[ERROR] 'dependencies.dependency.version' for io.quarkus:quarkus-spring-web:jar is missing. @ line 51, column 17
[ERROR] 'dependencies.dependency.version' for io.quarkus:quarkus-kafka-streams:jar is missing. @ line 55, column 17
 @ 
[ERROR] The build could not read 1 project -> [Help 1]
[ERROR]   
[ERROR]   The project org.acme:quarkus-kafka-streaming:1.0.0-SNAPSHOT (/Users/mariahito/Desktop/quarkus-apps/kafka-docker/data-streaming-kafka-quarkus/quarkus-kafka-streaming/pom.xml) has 7 errors
[ERROR]     Non-resolvable import POM: Failure to find com.redhat.quarkus:quarkus-universe-bom:pom:1.3.2.Final-redhat-00001 in https://repo.maven.apache.org/maven2 was cached in the local repository, resolution will not be reattempted until the update interval of central has elapsed or updates are forced @ line 23, column 19 -> [Help 2]
[ERROR]     'dependencies.dependency.version' for io.quarkus:quarkus-resteasy:jar is missing. @ line 33, column 17
[ERROR]     'dependencies.dependency.version' for io.quarkus:quarkus-junit5:jar is missing. @ line 37, column 17
[ERROR]     'dependencies.dependency.version' for io.rest-assured:rest-assured:jar is missing. @ line 42, column 17
[ERROR]     'dependencies.dependency.version' for io.quarkus:quarkus-kafka-client:jar is missing. @ line 47, column 17
[ERROR]     'dependencies.dependency.version' for io.quarkus:quarkus-spring-web:jar is missing. @ line 51, column 17
[ERROR]     'dependencies.dependency.version' for io.quarkus:quarkus-kafka-streams:jar is missing. @ line 55, column 17
[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
EN

回答 2

Stack Overflow用户

发布于 2021-03-16 03:51:10

该示例使用Quarkus的产品版本(即Red Hat支持)。该版本在Maven Central中不可用。

您只需删除版本的redhat-00001部分,就应该没问题了。

但我也建议使用较新版本的Quarkus。1.3大约有一年的历史了。

票数 0
EN

Stack Overflow用户

发布于 2021-04-13 23:10:32

我刚刚遇到了类似的问题。我在Maven Central Repo Search上搜索“quarkus-universe bom”,得到了List of quarkus-universe-bom available。我从1.8更新到了1.13.1。最终,直接地,似乎没有什么问题。

希望这能帮上忙,祝你好运。

票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/66644254

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档