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

使用eclipse创建springboot的maven项目,使用了远程镜像(私有)报三个错误,信息如下:

  1. 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  
  2.   
  3. Description Resource    Path    Location    Type  
  4. Error parsing lifecycle processing instructions pom.xml /xxxxxx line 1  Maven Project Build Lifecycle Mapping Problem  
  5.   
  6.   
  7. Description Resource    Path    Location    Type  
  8. 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两个文件夹),问题解决




  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值