gpt4 book ai didi

java - Wildfly 快速入门 不可解析的导入 POM : Failure to find org. wildfly :wildfly-parent:pom:20. 0.0.Beta1-SNAPSHOT

转载 作者:行者123 更新时间:2023-12-02 19:32:21 27 4
gpt4 key购买 nike

Wildfly 和 Java 的初学者,如果这个问题非常基础,我深表歉意。任何帮助将不胜感激。
备注:
启动 Wildfly 服务器没有任何问题。

问题:
我正在尝试从以下位置开始 hello world 快速启动 https://github.com/wildfly/wildfly

但是当我运行时

mvn clean install -N

我收到构建错误

[ERROR] [ERROR] Some problems were encountered while processing the POMs:  
[ERROR] Non-resolvable import POM: Failure to find org.wildfly.bom:wildfly-jakartaee8-with-tools:pom:20.0.0.Beta1-SNAPSHOT in https://repository.jboss.org/nexus/content/g
roups/public/ was cached in the local repository, resolution will not be reattempted until the update interval of jboss-public-repository-group has elapsed or updates are
forced @ line 106, column 25
[ERROR] Non-resolvable import POM: Failure to find org.wildfly.bom:wildfly-microprofile:pom:20.0.0.Beta1-SNAPSHOT in https://repository.jboss.org/nexus/content/groups/pub
lic/ was cached in the local repository, resolution will not be reattempted until the update interval of jboss-public-repository-group has elapsed or updates are forced @
line 114, column 25
@
[ERROR] The build could not read 1 project -> [Help 1]
[ERROR]
[ERROR] The project org.wildfly.quickstarts:quickstart-parent:20.0.0.Beta1-SNAPSHOT (C:\Users\nickk\Documents\GitHub\quickstart\pom.xml) has 2 errors
[ERROR] Non-resolvable import POM: Failure to find org.wildfly.bom:wildfly-jakartaee8-with-tools:pom:20.0.0.Beta1-SNAPSHOT in https://repository.jboss.org/nexus/conte
nt/groups/public/ was cached in the local repository, resolution will not be reattempted until the update interval of jboss-public-repository-group has elapsed or updates
are forced @ line 106, column 25 -> [Help 2]
[ERROR] Non-resolvable import POM: Failure to find org.wildfly.bom:wildfly-microprofile:pom:20.0.0.Beta1-SNAPSHOT in https://repository.jboss.org/nexus/content/groups
/public/ was cached in the local repository, resolution will not be reattempted until the update interval of jboss-public-repository-group has elapsed or updates are forc
ed @ line 114, column 25 -> [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

最佳答案

最好 checkout 标签,否则您需要构建一些其他上游组件。对于最新版本,您想使用 19.0.0.Final,请注意,我假设您的意思是 https://github.com/wildfly/quickstart也是如此。

git checkout 19.0.0.Final

这会将您置于 19.0.0.Final 标记上,然后您不需要构建任何上游组件。

关于java - Wildfly 快速入门 不可解析的导入 POM : Failure to find org. wildfly :wildfly-parent:pom:20. 0.0.Beta1-SNAPSHOT,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/61585141/

27 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com