[Error] Maven pom.xml 오류

bi_sz·2023년 7월 25일
0

Error

목록 보기
1/3
post-thumbnail
Failure to transfer org.apache.commons:commons-compress:pom:1.19 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.commons:commons-compress:pom:1.19 from/to central 
 (https://repo.maven.apache.org/maven2): The operation was cancelled.

프로젝트를 열자마자 보이는 pom.xml 오류..

  1. 문제가 되는 프로젝트 우클릭 후
  2. Run As
  3. Maven Clean
  4. Maven install
  5. 프로젝트 Refresh
  6. Maven Update
    [Process에서 처리가 완료될 때까지 아무것도 건드리지 말기]

위의 방법으로 해결이 되지 않는 경우

.m2/repository/org/maven 폴더를 삭제 후

  • maven update
  • maven clean
  • maven install

진행해주시면 됩니다.


위의 방법으로도 해결이 되지 않는 경우!!

[maven] 폴더의 상위 폴더였던 .m2/repository 폴더를 싹 날려버리고 ( 백업 필수!!! )

  • maven update ( forced check )
  • maven clean
  • maven install

후 빌드하니 저는 해결이 되었습니다 .ㅠㅠ
pom.xml 오류는 이제 끝......................

0개의 댓글