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

标签 java maven wildfly

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/

相关文章:

Intellij 和 Maven 的 java.lang.NoClassDefFoundError

java - Maven运行测试,然后编译然后进行其他测试

java - Mockito、Java 9 和 java.lang.ClassNotFoundException : sun. reflect.ReflectionFactory

Java 图标图像最大文件大小

java - 使用 ExecutorService 重复并行执行多个相似的任务

java - 如何在Maven中进行自定义打包?

在 Wildfly 上上传 Primefaces 文件

jakarta-ee - 使用 Wildfly 10 的自定义 JRE

java - 使用 Java 和 JXL/JExcel 读取电子表格

java - testcontainers, hikari 和 Failed to validate connection org.postgresql.jdbc.PgConnection