본문으로 바로가기

프로젝트를 생성했을 때 pom.xml에 에러가 뜨는 현상이다.

Maven Plugin을 다운받을 때 잘못 받아져서 생기는 에러이다.



Description Resource Path Location Type
Cannot read lifecycle mapping metadata for artifact org.apache.maven.plugins:maven-clean-plugin:maven-plugin:2.5:runtime Cause: invalid END header (bad central directory offset) pom.xml /test line 1 Maven Project Build Lifecycle Mapping Problem



해결 방법:

maven의 repository안의 폴더들을 전부 삭제한 후, 프로젝트를 Maven Update Project를 하면 된다.

다시 Maven이 다운되고 오류가 사라질 것이다.