Maven 오류시
-- 내용도 모르는데 어떻게??
-- 원인이 여러가지 일수가 있으니.
-- 디버깅을 해봐야 한다.
Failure to transfer org.apache.maven:maven-archiver:pom:2.5 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-archiver:pom:2.5 from/to central (https://repo.maven.apache.org/maven2): repo.maven.apache.org
뭐 이렇게만 봐선 뭔지 어떻게..
결론
프로젝트 우클릭 --> run as --> Run Configurations
--> MavenBuild --> 프로젝트명 클릭
------------------------------------------------------------
Goals 옵션에 ::::: -X pachage
Debug Output 체크
------------------------------------------------------------
run 실행을 하면 어디가 잘못되어 있는지 나옴
그거 수정해주면 됨.
난 참고로 자바 빌드 버전이 잘못된 경우 였음.
댓글 없음:
댓글 쓰기