wildfly quickstart从偏移量开始失败 [英] wildfly quickstart fails from the offset

查看:183
本文介绍了wildfly quickstart从偏移量开始失败的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我刚刚通过快速入门和jboss开发人员工作室下载了wildfly 9.02.我是jboss的新手,我正在关注github上的指南 https://github.com/wildfly/quickstart/来构建和部署源.我使用Java 8安装了maven(v 3.3.3),将settings.xml复制到$ HOME/.m2目录中,但在我看来artifcats的网址已损坏

i just downloaded wildfly 9.02 with the quickstarts and the jboss developer studio. I am a total newbie to jboss, i am following the guide on github https://github.com/wildfly/quickstart/ to build and deploy the sources. i got my maven installed (v 3.3.3) with java 8. settings.xml copied to my $HOME/.m2 directory but it seems to me that the urls of the artifcats are all broken

[ERROR]   The project org.wildfly.quickstarts:wildfly-helloworld:10.0.0-SNAPSHOT (C:\jboss\quickstart\helloworld\pom.xml) has 4 errors
[ERROR]     Non-resolvable import POM: Could not transfer artifact org.jboss.spec:jboss-javaee-7.0:pom:1.0.3.Final 
from/to jboss-earlyaccess-repository (http://maven.repository.redhat.com/earlyaccess/all/): 
Connect to maven.repository.redhat.com:80 [maven.repository.redhat.com/104.66.178.195] failed: Connection timed out: connect @ line 66, column 25 -> 
[Help 2]
[ERROR]     'dependencies.dependency.version' for javax.enterprise:cdi-api:jar is missing. @ line 79, column 21
[ERROR]     'dependencies.dependency.version' fororg.jboss.spec.javax.annotation:jboss-annotations-api_1.2_spec:jar is missing. @ line 87, column 21
[ERROR]     'dependencies.dependency.version' fororg.jboss.spec.javax.servlet:jboss-servlet-api_3.1_spec:jar is missing. @ line 94, column 21
[ERROR]

我想那里有些东西弄乱了,因为我不可能是唯一拥有它的人.

I am supposing something is messed up there because i can't be the only one having this.

感谢所有帮助. 谢谢

推荐答案

这是让您遇到问题的专家.它说该工件: 在maven.repository.redhat.com:80中找不到org.jboss.spec:jboss-javaee-7.0:pom:1.0.3.Final,因为您可以在此处.

It is maven that is giving you a problem. It says that the artifact: org.jboss.spec:jboss-javaee-7.0:pom:1.0.3.Final cannot be found in the maven.repository.redhat.com:80, as you can see here.

您需要做的是删除在某处添加的redhat maven存储库,以便从标准maven中央存储库中解析出工件,正如您在

What you need to do is remove the redhat maven repository that is somewhere added, so the artifacts are resolved from the standard maven central repository, which does provide this artifact as you see here

这篇关于wildfly quickstart从偏移量开始失败的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆