报错:Could not transfer artifact
org.springframework.boot:spring-boot-starter-parent:pom:1.5.9.RELEASE
from/to nexus (http://repo.maven.apache.org/maven2): Transfer failed
for
http://repo.maven.apache.org/maven2/org/springframework/boot/spring-boot-starter-parent/1.5.9.RELEASE/spring-boot-starter-parent-1.5.9.RELEASE.pom
501 HTTPS Required
依赖导不进去?看解决步骤:
1、mirrors标签下把镜像改为:
tips:项目右键Maven -》open ‘settings.xml’
<mirror>
<id>mirrorId</id>
<mirrorOf>repositoryId</mirrorOf>
<name>Human Readable Name for this Mirror.</name>
<url>http://my.repository.com/repo/path</url>
</mirror>
<!--<mirror>
<id>alimaven</id>
<name>aliyun maven</name>
<url>http://maven.aliyun.com/nexus/content/groups/public/</url>
<mirrorOf>central</mirrorOf>
</mirror>-->
2、mvn clean
3、项目右键Maven -》Reload project