创建项目报错,如图:
原因就是maven的配置文件不是最新的,MyEclipse2014解决方法:
1.help ->Install New sitie...
2.点击add
3.填写name和location (最好能从本地安装,因网络问题,可能更新不了,长时间等待,出现cannot perform operation.Computing alternate solutions,may take a while: ...)
- Name: MavenArchiver
- 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
博客地址:https://blog.csdn.net/xiang__liu,https://www.cnblogs.com/xiang--liu/