创建项目报错,如图:
[img]http://dl2.iteye.com/upload/attachment/0130/3928/75358d88-f953-3893-9e69-4b01b8faf368.png[/img]
原因就是maven的配置文件不是最新的,MyEclipse2014解决方法:
1.help ->Install New sitie...
[img]http://dl2.iteye.com/upload/attachment/0130/3930/c8ffbff9-124c-3103-b883-b2f73feebba6.png[/img]
2.点击add
[img]http://dl2.iteye.com/upload/attachment/0130/3932/5dfcf4f3-8dbd-3826-8be3-30b7110dada7.png[/img]
3.填写name和location (最好能从本地安装,因网络问题,可能更新不了,长时间等待,出现cannot perform operation.Computing alternate solutions,may take a while: ...)
[img]http://dl2.iteye.com/upload/attachment/0130/3934/76aee39a-aeab-35e2-bf59-aba218165975.png[/img]
4点击“Available Software Sites”
[img]http://dl2.iteye.com/upload/attachment/0130/3936/080fd7ba-38f7-3833-81c8-f79d540f0563.png[/img]
5.去掉其他要安装的插件,防止报cannot perform operation.Computing alternate solutions...
[img]http://dl2.iteye.com/upload/attachment/0130/3938/245a35df-7f7b-312c-baaf-d1d562470e7e.png[/img]
6.选中“m2e extensions”;取消选项“Contact all update sites during install to find required software”
[img]http://dl2.iteye.com/upload/attachment/0130/3940/1a4b4dd8-69f2-35a7-aaf2-733ea8ab2bd4.png[/img]
7.一直next confirm 安装更新 提示重启eclipse 然后再右键项目maven update project
[img]http://dl2.iteye.com/upload/attachment/0130/3928/75358d88-f953-3893-9e69-4b01b8faf368.png[/img]
原因就是maven的配置文件不是最新的,MyEclipse2014解决方法:
1.help ->Install New sitie...
[img]http://dl2.iteye.com/upload/attachment/0130/3930/c8ffbff9-124c-3103-b883-b2f73feebba6.png[/img]
2.点击add
[img]http://dl2.iteye.com/upload/attachment/0130/3932/5dfcf4f3-8dbd-3826-8be3-30b7110dada7.png[/img]
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/
[img]http://dl2.iteye.com/upload/attachment/0130/3934/76aee39a-aeab-35e2-bf59-aba218165975.png[/img]
4点击“Available Software Sites”
[img]http://dl2.iteye.com/upload/attachment/0130/3936/080fd7ba-38f7-3833-81c8-f79d540f0563.png[/img]
5.去掉其他要安装的插件,防止报cannot perform operation.Computing alternate solutions...
[img]http://dl2.iteye.com/upload/attachment/0130/3938/245a35df-7f7b-312c-baaf-d1d562470e7e.png[/img]
6.选中“m2e extensions”;取消选项“Contact all update sites during install to find required software”
[img]http://dl2.iteye.com/upload/attachment/0130/3940/1a4b4dd8-69f2-35a7-aaf2-733ea8ab2bd4.png[/img]
7.一直next confirm 安装更新 提示重启eclipse 然后再右键项目maven update project