首先我用的eclipse版本为:
当时在安装eclipse 的maven插件时报错如下:
Cannot complete the install because one or more required items could not be found. Software being installed: m2e - Maven Integration for Eclipse 1.4.0.20130601-0317 (org.eclipse.m2e.feature.feature.group 1.4.0.20130601-0317) Missing requirement: Maven Integration for Eclipse JDT 1.4.0.20130601-0317 (org.eclipse.m2e.jdt 1.4.0.20130601-0317) requires 'bundle org.slf4j.api 1.6.2' but it could not be found Cannot satisfy dependency: From: m2e - Maven Integration for Eclipse 1.4.0.20130601-0317 (org.eclipse.m2e.feature.feature.group 1.4.0.20130601-0317) To: org.eclipse.m2e.jdt [1.4.0.20130601-0317]解决方案为: http://www.filewatcher.com/m/org.slf4j.api_1.6.4.v20120130-2120.jar.35067-0.html 在这个地址下载一个slf4j-api的jar包,放到eclipse的plugins 下,然后再安装就ok啦!