반응형
문제
- pom.xml 파일에서 시작부터 에러 발생
Failure to transfer org.apache.maven.plugins:maven-resources-plugin:pom:2.6 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-resources-plugin:pom:2.6 from/to central (https://repo.maven.apache.org/
maven2): Remote host terminated the handshake
해결 방법
- 기존에 사용하던 전자정부프레임워크의 레파지토리 URL이 변경되어 이를 수정해주어야 한다.
- 수정 이후 이클립스 재시작
http://repo1.maven.org/maven2/
=> https://repo1.maven.org/maven2/
http://repo.maven.apache.org/maven2/
=> https://repo.maven.apache.org/maven2/
http://www.egovframe.go.kr/maven/
=> http://maven.egovframe.kr:8080/maven/
에러가 해결되었다.
참고
아래의 블로그를 참고하여 문제를 해결하였습니다.
전자정부프레임워크 maven-resources-plugin 에러
Spring Project 환경 셋팅에서 생각보다 흔한 에러
velog.io
반응형