Wildfly quickstart Non-resolvable import POM: Failure to find org.wildfly:wildfly-parent:pom:20.0.0.Beta1-SNAPSHOT

huangapple go评论89阅读模式
英文:

Wildfly quickstart Non-resolvable import POM: Failure to find org.wildfly:wildfly-parent:pom:20.0.0.Beta1-SNAPSHOT

问题

对于初学者来说,涉及Wildfly和Java可能会有一些基础问题,如果问题很基础,请原谅。非常感谢任何帮助。

注意:
启动Wildfly服务器没有问题。

问题:
我正在尝试从以下网址启动"Hello World"快速入门:
https://github.com/wildfly/wildfly

然而,当我运行以下命令时:

mvn clean install -N

我遇到了构建错误:

[ERROR] [ERROR] 在处理POM文件时遇到了一些问题:
[ERROR] 无法解析的导入POM:无法在https://repository.jboss.org/nexus/content/groups/public/中找到org.wildfly.bom:wildfly-jakartaee8-with-tools:pom:20.0.0.Beta1-SNAPSHOT,
    该文件已被缓存在本地仓库中,将在jboss-public-repository-group的更新间隔过去或强制更新后才会重新尝试解析 @ 第106行,第25列
[ERROR] 无法解析的导入POM:无法在https://repository.jboss.org/nexus/content/groups/public/中找到org.wildfly.bom:wildfly-microprofile:pom:20.0.0.Beta1-SNAPSHOT,
    该文件已被缓存在本地仓库中,将在jboss-public-repository-group的更新间隔过去或强制更新后才会重新尝试解析 @ 第114行,第25列
    @   
[ERROR] 无法读取1个项目的构建 -> [帮助 1]
[ERROR]   
[ERROR] 项目org.wildfly.quickstarts:quickstart-parent:20.0.0.Beta1-SNAPSHOT (C:\Users\nickk\Documents\GitHub\quickstart\pom.xml)存在2个错误
[ERROR] 无法解析的导入POM:无法在https://repository.jboss.org/nexus/content/groups/public/中找到org.wildfly.bom:wildfly-jakartaee8-with-tools:pom:20.0.0.Beta1-SNAPSHOT,
    该文件已被缓存在本地仓库中,将在jboss-public-repository-group的更新间隔过去或强制更新后才会重新尝试解析 @ 第106行,第25列 -> [帮助 2]  
[ERROR] 无法解析的导入POM:无法在https://repository.jboss.org/nexus/content/groups/public/中找到org.wildfly.bom:wildfly-microprofile:pom:20.0.0.Beta1-SNAPSHOT,
    该文件已被缓存在本地仓库中,将在jboss-public-repository-group的更新间隔过去或强制更新后才会重新尝试解析 @ 第114行,第25列 -> [帮助 2]  
[ERROR]   
[ERROR] 要查看错误的完整堆栈跟踪,请使用 -e 开关重新运行Maven。
[ERROR] 使用 -X 开关重新运行Maven以启用完整的调试日志记录。
[ERROR]   
[ERROR] 有关错误和可能解决方案的更多信息,请阅读以下文章:
[ERROR] [帮助 1] http://cwiki.apache.org/confluence/display/MAVEN/ProjectBuildingException  
[ERROR] [帮助 2] http://cwiki.apache.org/confluence/display/MAVEN/UnresolvableModelException
英文:

Beginner to Wildfly and Java so apologies if this question is very basic. Any help would be greatly appreciated.
Notes:
Have no issues starting a wildfly server.

Problem:
I am trying to start the hello world quick-start from
https://github.com/wildfly/wildfly

However when I run

mvn clean install -N

I get a build error

[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  

答案1

得分: 5

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

git checkout 19.0.0.Final

这将将您切换到19.0.0.Final标签,然后您就不需要构建任何上游组件。

英文:

It's best to checkout a tag otherwise you need to build some other upstream components. For the latest you'd want to use 19.0.0.Final, note I assume you mean https://github.com/wildfly/quickstart as well.

git checkout 19.0.0.Final

That will put you on the 19.0.0.Final tag and then you shouldn't need to build any upstream components.

huangapple
  • 本文由 发表于 2020年5月4日 12:21:11
  • 转载请务必保留本文链接:https://go.coder-hub.com/61585141.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定