Solution to SpringBoot maven image problem under IDEA Could not transfer artifact org.springframework.boot:spring-boot-starte

报错: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

Can't the dependency be imported? Look at the solution steps:
1. Under the mirrors tab, change the mirror image to:
tips: right click on the project 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. Right click on the project Maven - "Reload project

Guess you like

Origin blog.csdn.net/lllbn/article/details/126309434