[英]Error install Maven in Eclipse
I don't know why maven install error in Eclipse, the following picture: 我不知道为什么Maven在Eclipse中安装错误,如下图:
Thank all! 谢谢大家!
Look for the .m2 folder and a file called settings.xml Replace the host and port with your own university settings. 查找.m2文件夹和一个名为settings.xml的文件,用您自己的大学设置替换主机和端口。
<settings xmlns="http://maven.apache.org/SETTINGS/1.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.0.0
http://maven.apache.org/xsd/settings-1.0.0.xsd">
<proxies>
<proxy>
<id>myproxy</id>
<active>true</active>
<protocol>http</protocol>
<host>ENTER PROXY HERE!!!!</host>
<port>ENTER PORT HERE!!!!</port>
<nonProxyHosts>*.google.com|ibiblio.org</nonProxyHosts>
</proxy>
</proxies>
</settings>
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.