1. 程式人生 > >Error parsing lifecycle processing instructions pom.xml /xxxxx Maven Project Build Life

Error parsing lifecycle processing instructions pom.xml /xxxxx Maven Project Build Life


本機是windows7 64bit,eclipse版本資訊:

Eclipse Java EE IDE for Web Developers.

Version: Neon.3 Release (4.6.3)
Build id: 20170314-1500

使用eclipse建立springboot的maven專案,使用了遠端映象(私有)報三個錯誤,資訊如下:

Archive for required library: 'C:/Users/Guo/.m2/repository/org/hibernate/hibernate-validator/5.3.5.Final/hibernate-validator-5.3.5.Final.jar' in project 'firststrick' cannot be read or is not a valid ZIP file	firststrick		Build path	Build Path Problem

Description	Resource	Path	Location	Type
Error parsing lifecycle processing instructions	pom.xml	/xxxxxx	line 1	Maven Project Build Lifecycle Mapping Problem


Description	Resource	Path	Location	Type
The project cannot be built until build path errors are resolved	firststrick		Unknown	Java Problem

嘗試修改classpath等配置檔案,無效

去報錯的路徑去找相關jar包,可以找到,確定是jar包,對報錯資訊產生疑惑,時間有限,刪掉之前建立的專案,重新建專案,報錯資訊如下:

Error parsing lifecycle processing instructions pom.xml /xxxxx line 1 Maven Project Build Lifecycle Mapping Problem

去找了其他解決方案,

方案一,說是使用的ecilpse的neon版本有問題,我不信~

方案二,清空C:/Users/Guo/.m2/repository,重新down,感覺這個靠譜點,執行(我保留了.locks和.cache兩個資料夾),問題解決