从命令提示符执行mvn install命令时出现以下错误。
Plugin org.apache.maven.plugins:maven-source-plugin:1.0 or one of its dependencies could not be resolved: Failed to read artifact descriptor for org.apache.maven.plugins:maven-source-plugin:jar:1.0: Could not transfer artifact org.apache.maven.plugins:maven-source-plugin:pom:1.0 from/to central (http://repo1.maven.org/maven2): Error transferring file: repo1.maven.org: Unknown host repo1.maven.org -> [Help 1]
如果我尝试使用https://broadleaf.svn.sourceforge.net/svnroot/broadleaf
连接到svn存储库,我得到下面的错误
svn: OPTIONS request failed on '/svnroot/broadleaf/' Connection timed out: connect
谁能帮我?
你在公司防火墙后面吗? 您可能需要配置代理设置,以便Maven可以下载必要的依赖关系。
我可以通过在Unix / etc / hosts文件中将dns名称与IP地址绑定来解决这个问题。
喜欢:
12.434.23.x xxxx.domain.com