이클립스로 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를 누르면 업데이트가 진행된다.
이러면 해결이 된다.
반응형
'오류해결' 카테고리의 다른 글
vue랑 스프링부트 연동하는데 스프링에서 null로 받는 에러 (0) | 2023.05.16 |
---|---|
Vue 화면 넘어가지 않는 에러 (0) | 2023.05.14 |
Spring에서 계속 null값이 들어오는 에러 발생 (0) | 2023.05.08 |
마이바티스 인터페이스 찾지 못하는 에러 (0) | 2023.05.08 |