错误是解析存储库

时间:2015-11-25 13:16:50

标签: java maven

我在命令下运行,我收到此错误。

mvn clean install -U

它在其他机器上正常工作。我也可以访问

http://repo.maven.apache.org/maven2

Java HotSpot(TM) 64-Bit Server VM warning: ignoring option PermSize=300m; suppor
t was removed in 8.0
[INFO] Scanning for projects...
Downloading: http://repo.maven.apache.org/maven2/org/wildfly/bom/jboss-javaee-7.
0-wildfly/9.0.1.Final/jboss-javaee-7.0-wildfly-9.0.1.Final.pom
[ERROR] The build could not read 1 project -> [Help 1]
[ERROR]
[ERROR]   The project com.ideas.MyProj:MyProj:2.0.1-SNAPSHOT (C:\MyProj\pom.xml)
has 1 error
[ERROR]     Non-resolvable import POM: Could not transfer artifact org.wildfly.b
om:jboss-javaee-7.0-wildfly:pom:9.0.1.Final from/to central (http://repo.maven.a
pache.org/maven2): Connection to http://repo.maven.apache.org refused @ line 115
6, column 16: Connection refused: connect -> [Help 2]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e swit
ch.
[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 rea
d the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/ProjectBuildin
gException
[ERROR] [Help 2] http://cwiki.apache.org/confluence/display/MAVEN/UnresolvableMo
delException

1 个答案:

答案 0 :(得分:1)

Symlink是个问题,她的setting.xml没有符号链接,所以我们使用cmd创建了符号链接并且它有效。

{{1}}