maven 관련 에러가 발생합니다.
- 작성자 :
- 장*진
- 작성일 :
- 2018-12-18 15:43:18
- 조회수 :
- 12,308
- 구분 :
- 개발환경
- 진행상태 :
- 완료
Q
자바 버젼 : 1.7.0_80 64bit
개발환경 3.6.0 설치
메이븐 3.6 repository 생성 및 setting.xml 설정 후
새로운 eGovFrame web 프로젝트 생성 시
POM.XML 에서 아래와 같은 오류가 납니다.
Failure to transfer org.apache.maven:maven-plugin-api:jar:2.0.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:maven-plugin-api:jar:2.0.6 from/to central (https://
repo.maven.apache.org/maven2): Received fatal alert: protocol_version
maven update, maven clean, maven install 모두 몇번이나 해봤지만 마찬가지 입니다.
원인좀 알려주세요
개발환경 3.6.0 설치
메이븐 3.6 repository 생성 및 setting.xml 설정 후
새로운 eGovFrame web 프로젝트 생성 시
POM.XML 에서 아래와 같은 오류가 납니다.
Failure to transfer org.apache.maven:maven-plugin-api:jar:2.0.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:maven-plugin-api:jar:2.0.6 from/to central (https://
repo.maven.apache.org/maven2): Received fatal alert: protocol_version
maven update, maven clean, maven install 모두 몇번이나 해봤지만 마찬가지 입니다.
원인좀 알려주세요
A
안녕하십니까, 표준프레임워크센터입니다.
먼저 3.6.0의 eGovFrame Web 샘플 프로젝트를 생성해보시고 구동해보시기 바랍니다.
현재 만드신 웹프로젝트를 말씀해주신 사항만으로는 어떻게 구성해서 만드신지 모르겠지만,
pom.xml의 변경 사항과 각 dependency,version 별 deprecated dependency도 고려해서 구성하셔야합니다.
아래와 같은 방법을 진행하지 않으셨다면 진행해보시기 바랍니다.
org.apache.maven:maven-plugin-api:jar:2.0.6 버전이라면
관련 메이븐이 설치된 관련 리파지토리 부분을 삭제하고 (또는 리파지토리 변경이나 전체 삭제{backup 필수} 후) 진행하시기 바랍니다.
maven update(forced > check)
maven clean
maven install
후 빌드해보시기 바랍니다.
감사합니다.
먼저 3.6.0의 eGovFrame Web 샘플 프로젝트를 생성해보시고 구동해보시기 바랍니다.
현재 만드신 웹프로젝트를 말씀해주신 사항만으로는 어떻게 구성해서 만드신지 모르겠지만,
pom.xml의 변경 사항과 각 dependency,version 별 deprecated dependency도 고려해서 구성하셔야합니다.
아래와 같은 방법을 진행하지 않으셨다면 진행해보시기 바랍니다.
org.apache.maven:maven-plugin-api:jar:2.0.6 버전이라면
관련 메이븐이 설치된 관련 리파지토리 부분을 삭제하고 (또는 리파지토리 변경이나 전체 삭제{backup 필수} 후) 진행하시기 바랍니다.
maven update(forced > check)
maven clean
maven install
후 빌드해보시기 바랍니다.
감사합니다.