STS (Spring Tool Suite) 에서 Spring Start Project 를 생성 하면 아래와 같은 오류가 발생한다.
Project build error: Non-resolvable parent POM for com.example:TEST:0.0.1-SNAPSHOT: Failure to transfer org.springframework.boot:spring-boot-starter-parent:pom:2.1.4.RELEASE from https://
repo.maven.apache.org/maven2 was cached in the local repository, resolution will not be reattempted until the update interval of central has elapsed or updates are forced. Original error: Could not
transfer artifact org.springframework.boot:spring-boot-starter-parent:pom:2.1.4.RELEASE from/to central (https://repo.maven.apache.org/maven2): connect timed out and ‘parent.relativePath’ points
at no local POM
문제는 회사의 proxy 서버에 의해 repository의 파일을 업데이트 하지 못해서 발생하는 문제이다.
이런 경우에는 Maven Home Directory 에 settings.xml 파일에 프록시 세팅을 변경해 주면 해결이 된다.