
Cannot read lifecycle mapping metadata for artifact org.apache.maven.plugins
今天新导入项目到新的电脑,结果maven pom.xml报错
Description Resource Path LocationType
Cannot read lifecycle mapping metadata for artifact org.apache.maven.plugins:maven-site-plugin:maven-plugin:3.3:runtime Cause: invalid END header (bad central directory offset)pom.xml/maven-web-demoline 1Maven Project Build Lifecycle Mapping Problem
卸载了eclipse 又重装还是不行,最后
进入 C:\Users\11070\.m2 目录 删除掉 repository 文件夹 , 然后maven update project 耐心等待其更新就可以。