[[报错信息:]]
Non-resolvable parent POM for com.zhaoyang:eurekaTest:1.0-SNAPSHOT: Could not transfer artifact org.springframework.boot:spring-boot-starter-parent:pom:1.5.3.RELEASE from/to alimaven (http://maven.aliyun.com/nexus/content/groups/public/): proxy.host.net and 'parent.relativePath' points at no local POM @ line 17, column 13
无法从阿里云的maven仓库下载1.5.3.RELEASE
[[原因:]]
不知道什么时候在本地仓库的配置文件里面(conf/setting.xml)增加了个没用的代理:
<proxy>
<id>optional</id>
<active>true</active>
<protocol>http</protocol>
<username>proxyuser</username>
<password>proxypass</password>
<host>proxy.host.net</host>
<port>80</port>
<nonProxyHosts>local.net|some.host.com</nonProxyHosts>
</proxy>
[[解决:]]
把这个代理注释掉,OK
然后本地仓库删除1.5.3.RELEASE这个包,重新下载,哦了!