org.apache.maven.archiver.MavenArchiver.getManifest错误


eclipse导入新的maven项目时,pom.xml第一行报错:

org.apache.maven.archiver.MavenArchiver.getManifest(org.apache.maven.project.MavenProject, org.apache.maven.archiver.MavenArchiveConfiguration)

解决办法:

1.Help => Install New SoftWare => Add

2.在弹出的窗口中输入以下内容,按照提示安装即可。安装成功后,选择项目Maven => Update Project

Name:MavenArchiver

Location:

http://repo1.maven.org/maven2/.m2e/connectors/m2eclipse-mavenarchiver/0.17.2/N/LATEST/  或者

https://otto.takari.io/content/sites/m2e.extras/m2eclipse-mavenarchiver/0.17.2/N/LATEST/

posted @ 2018-07-24 15:38  YF721  阅读(210)  评论(0编辑  收藏  举报