本机是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两个文件夹),问题解决
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)