创建项目报错,如图:

原因就是maven的配置文件不是最新的,MyEclipse2014解决方法:
1.help ->Install New sitie...

2.点击add

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

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



4点击“Available Software Sites”

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

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

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

posted on 2019-08-16 16:34  刘达人186  阅读(1023)  评论(0编辑  收藏  举报