简体   繁体   中英

Springboot,maven dependencies error

I have a sample spring boot app to deploy in my system which is throwing me following error.I tried cleaning up the maven files from cache still struck with the issue. Can anyone help me with this. Following is the error I Get

Project build error: Non-resolvable parent POM for com.broad.gateway:com-
 gateway:0.0.1-SNAPSHOT: Could not transfer artifact 
 org.springframework.boot:spring-boot-starter-parent:pom:2.0.2.RELEASE from/to 
 central (https://repo.maven.apache.org/maven2): connect timed out and 
 'parent.relativePath' points at no local POM

You are getting connection timeout error. This generally happens when you are behind a corporate firewall and your company restricts connection to maven central or any other repos. Try defining your company specific nexus repository under pom.xml in repositories section.

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