Pom.xml file after adding a new dependency, has been reported: Org.codehaus.plexus.archiver.jar.Manifest.write (java.io.PrintWriter) error, Maven This is still true after the update. finding the data initially determined that the MAVEN plugin version in Eclipse was too low (I used Eclipse Neon (4.6) version, comes with a maven plugin), and needed to update the MAVEN plugin. Update the Maven plugin method in eclipse as follows: Click: Help, Install New software, add-http://repo1.maven.org/maven2/.m2e/connectors/ m2eclipse-mavenarchiver/0.17.2/n/latest/Step by step to complete the update process next.
In solving this problem, Baidu to the solution is through the following address to update: https://otto.takari.io/content/sites/m2e.extras/m2eclipse-mavenarchiver/0.17.2 /n/latest but the address returned by the address bar is a 502 error and cannot be successfully updated. Do not know whether it is the wall or not access, do not know how they copy one is how to update the success. Reference URL: https://stackoverflow.com/questions/37555557/m2e-error-in-mavenarchiver-getmanifest This article details including the spring Tool Suite or eclipse has a solution to this problem, and that's where the country's inaccessible update addresses come from, but this article also provides http://repo1.maven.org/maven2/.m2e/connectors/ m2eclipse-mavenarchiver/0.17.2/n/latest/this address for update.
Pom.xml Error: Org.codehaus.plexus.archiver.jar.Manifest.write (java.io.PrintWriter) workaround