maven导入项目时出现“Cannot read lifecycle mapping metadata …… invalid END header (bad central directory offset)pom”错误的解决方法
2017-07-03 18:25
1656 查看
出现该错误是因为jar包版本不匹配,比如linux上的jar包导入到windows上了。可以将.m2\repository的org.apache.maven.plugins删掉然后让maven重新下载试试。
.m2文件夹的位置可以在eclipse的jar包中查到,打开maven dependencies即可看到jar包所在的.m2文件夹位置。
相关文章推荐
- win10 pro eclipse maven: Cannot read lifecycle mapping metadata for artifact org.apache.maven.plugins:mav invalid END header (bad central directory offset)
- Maven导入项目出现类似"Cannot read lifecycle ..invalid END header "问题的解决办法
- invalid END header (bad central directory offset) 错误解决办法
- % invalid END header (bad central directory offset) 问题解决
- Cannot read lifecycle mapping metadata for artifact org.apache.maven.plugins问题的解决
- Error:Cannot read lifecycle mapping metadata for artifact org.apache.maven.plugins:mav ... invalid E
- Cannot read lifecycle mapping metadata for artifact org.apache.maven.plugins问题的解决
- 解决使用maven的java web项目导入或新建添加pom配置后出现的有关问题 -cannot be read or is not a valid ZIP file
- 搭建SSM项目spring+springmvc+mybatis出现invalid END header (bad central directory size) zipException
- 解决maven重新导入项目时,pom.xml中<packaging>war</packaging>错误的方法
- Cannot read lifecycle mapping metadata for artifact org.apache.maven.plugins:maven-site-plugin:maven
- IDEA的maven项目出现org.apache.ibatis.binding.BindingException: Invalid bound statement (not found)错误解决方法
- 解决使用maven的java web项目导入后出现的有关问题 -cannot be read or is not a valid ZIP file
- Caused by: java.util.zip.ZipException: invalid END header (bad central directory offset)
- myeclipse导入maven工程,明明没有错误,项目顶层文件夹却出现红叉的解决方法
- maven项目构建出现Unknown lifecycle phase "build".提示解决方法
- Android导入项目出现“R cannot be resolved to a variable"错误的解决方法
- 解决使用maven的java web项目导入后出现的有关问题, -cannot be read or is not a valid zip file
- 修改maven 的默认jdk版本解决导入maven 项目出现错误
- 解决 在POM配置Maven plugin提示错误“Plugin execution not covered by lifecycle configuration”