当我尝试在我的项目文件夹中执行“mvn clean install”时,出现如下错误:
org.apache.maven.wagon.providers.http.httpclient.impl.client.DefaultRequestDirector tryConnect 信息:连接到目标主机时捕获 I/O 异常 (java.net.NoRouteToHostException):没有到主机的路由
我的 settings.xml 文件没问题。还有我的配置:
Apache Maven 3.0.4 (r1232337; 2012-01-17 10:44:56+0200)
Maven home: /usr/local/apache-maven-3.0.4
Java version: 1.6.0_33, vendor: Sun Microsystems Inc.
Java home: /usr/lib/jvm/jdk1.6.0_33/jre
Default locale: en_US, platform encoding: UTF-8
OS name: "linux", version: "2.6.24-24-server", arch: "i386", family: "unix"
请帮助我们,无聊的很多:)