简体   繁体   中英

Could not transfer artifact org.springframework.boot:spring-boot-starter-parent:pom

Im getting this error when I try to import any repos mainly from Spring Initializer. I'm behind a proxy but I have my proxies specified so not sure why this is failing. I have tried to run mvn dependency:purge-local-repository from Stackflow thread but this hasnt helped. I'm using java version "1.8.0_231". The error connection timed out usually points to proxy issues but I have tested and its working for almost everything else except IntelliJ and Eclipse.

Could not transfer artifact org.springframework.boot:spring-boot-starter-parent:pom:2.2.4.RELEASE from/to central ( https://repo.maven.apache.org/maven2 ): Connect to repo.maven.apache.org:443 [repo.maven.apache.org/151.101.16.215] failed: Connection timed out: connect

check your IDEA's maven setting

Preferences -> Build,Execution, Deployment -> Build Tools -> Maven

is right. pay close attention to the setting of User settings file and Local repository . make sure that they match your local settings.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM