【问题标题】:Wildfly quickstart Non-resolvable import POM: Failure to find org.wildfly:wildfly-parent:pom:20.0.0.Beta1-SNAPSHOTWildfly 快速入门 不可解析的导入 POM:未能找到 org.wildfly:wildfly-parent:pom:20.0.0.Beta1-SNAPSHOT
【发布时间】:2020-08-18 11:03:47
【问题描述】:

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  

【问题讨论】:

    标签: java maven wildfly


    【解决方案1】:

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

    git checkout 19.0.0.Final
    

    这将使您进入 19.0.0.Final 标记,然后您不需要构建任何上游组件。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 2014-12-12
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2020-03-20
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多