创建项目报错,如图:
MyEclipse创建maven项目时报: org.apache.maven.archiver.MavenArchiver.getManifest 错误-LMLPHP

原因就是maven的配置文件不是最新的,MyEclipse2014解决方法:

1.help ->Install New sitie...

MyEclipse创建maven项目时报: org.apache.maven.archiver.MavenArchiver.getManifest 错误-LMLPHP

2.点击add

MyEclipse创建maven项目时报: org.apache.maven.archiver.MavenArchiver.getManifest 错误-LMLPHP

3.填写name和location (最好能从本地安装,因网络问题,可能更新不了,长时间等待,出现cannot perform operation.Computing alternate solutions,may take a while: ...)

  1. Name: MavenArchiver
  2. Location: http://repo1.maven.org/maven2/.m2e/connectors/m2eclipse-mavenarchiver/0.17.2/N/LATEST/

MyEclipse创建maven项目时报: org.apache.maven.archiver.MavenArchiver.getManifest 错误-LMLPHP

4点击“Available Software Sites”

MyEclipse创建maven项目时报: org.apache.maven.archiver.MavenArchiver.getManifest 错误-LMLPHP

5.去掉其他要安装的插件,防止报cannot perform operation.Computing alternate solutions...

MyEclipse创建maven项目时报: org.apache.maven.archiver.MavenArchiver.getManifest 错误-LMLPHP

6.选中“m2e extensions”;取消选项“Contact all update sites during install to find required software”

MyEclipse创建maven项目时报: org.apache.maven.archiver.MavenArchiver.getManifest 错误-LMLPHP

7.一直next confirm 安装更新 提示重启eclipse 然后再右键项目maven update project

05-18 08:27