Cannot resolve plugin org.apache.maven.plugins:maven-jar-plugin:2.4

Solve the problem of cannot resolve plugin org.apache.maven.plugins: Maven jar plugin: 2.4 in idea

According to the package name that reported the error, find the corresponding path, and then delete all the files in it (the default is under the. M2 path in the user directory):

after deletion, the problem is successfully solved:


Read More: