执行MVN安装时未知的主机错误 [英] Unknown host error while executing MVN install
问题描述
插件org.apache.maven.plugins 我从命令提示符处执行mvn install命令时出现错误:maven-source-plugin:1.0或其依赖关系无法解析:
无法读取org.apache.maven.plugins的工件描述符:maven-source-plugin:jar:1.0:
无法传输工件org.apache.maven.plugins:maven-source-plugin:pom:1.0 from / to central(http://repo1.maven.org/maven2):
传输文件时出错:repo1.maven .org:未知主机repo1.maven.org - > [帮助1]
如果我尝试使用 https连接到svn存储库: //broadleaf.svn.sourceforge.net/svnroot/broadleaf
我收到以下错误
svn:选项请求失败'/ svnroot / broadleaf /'
连接超时:连接
任何人都可以帮助我吗?
您可能需要配置代理设置,以便Maven可以下载必要的依赖关系。
I am getting below error while executing the mvn install command from command prompt.
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]
If I try to connect toa svn repository using https://broadleaf.svn.sourceforge.net/svnroot/broadleaf
I am getting below error
svn: OPTIONS request failed on '/svnroot/broadleaf/'
Connection timed out: connect
Can anyone help me?
Are you behind a company firewall? You might need to configure proxy settings so that Maven can download the necessary dependencies.
这篇关于执行MVN安装时未知的主机错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!