오류해결

Spring 플러그인 에러

indeep 2023. 5. 8. 22:07

이클립스로 spring legacy project를 생성하는데 첫 setting이 지나고 plugin 에러가 발생했다.

 

에러의 내용은 아래와 같았다.

 

Failure to transfer org.apache.maven.plugins:maven-compiler-plugin:pom:2.5.1 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.apache.maven.plugins:maven-compiler-plugin:pom:2.5.1 from/ to central (https://repo.maven.apache.org/maven2): repo.maven.apache.org  

 

 

내용을 해석하면 maven 플러그인을 다운 받다가 중간에 실패를 했다는 내용이다.

 

해결 방법

1. 프로젝트 우클릭을 해서 Maven → Update Project를 선택한다.

 

2. 원하는 프로젝트를 선택하고 밑에 Force Update of Snapshots/Releases를 선택하고 OK를 누르면 업데이트가 진행된다.

 

이러면 해결이 된다.

반응형