Cannot read lifecycle mapping metadata for artifact org.apache.maven.plugins:maven-compiler-plugin:maven-*plugin:3.1:runtime Cause: zip file is empty
pom.xml /zheng-pay-web line 1 Maven Project Build Lifecycle Mapping Problem
The situation here is:
/D:/maven/repository/org/apache/maven/plugins/maven-resources-plugin/2.6/maven-*plugin:3.1.jar
file no. or an empty file.
solution
1. Right-click the pom.xml file in eclipse ->Maven->add plugin to add the corresponding plugin
2. Right-click the pom.xml file->debug-> Maven install
, if executed correctly, you should see maven- under {user.home}\.m2\repository\org\apache\maven\plugins\maven-resources-plugin\ *-plugin.jar files
3. Refresh the project (right-click the project and select Maven->update projects)