Error Details:
错误详情:
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 (Editors) 1.4.0.20130601-0317 (org.eclipse.m2e.editor 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.editor [1.4.0.20130601-0317]
无法完成安装,因为找不到一个或多个必需的项目。正在安装的软件:m2e - Eclipse的Maven Integration 1.4.0.20130601-0317(org.eclipse.m2e.feature.feature.group 1.4.0.20130601-0317)缺少要求:Eclipse的Maven Integration(编辑器)1.4.0.20130601-0317(org .eclipse.m2e.editor 1.4.0.20130601-0317)需要'bundle org.slf4j.api 1.6.2'但无法找到它无法满足依赖性:来自:m2e - Maven Integration for Eclipse 1.4.0.20130601-0317(org。 eclipse.m2e.feature.feature.group 1.4.0.20130601-0317)收件人:org.eclipse.m2e.editor [1.4.0.20130601-0317]
Getting the above mentioned error when installing M2E in Eclipse. The M2E URL that I used is http://download.eclipse.org/technology/m2e/releases
在Eclipse中安装M2E时出现上述错误。我使用的M2E URL是http://download.eclipse.org/technology/m2e/releases
2 个解决方案
#1
30
As of late 2011, the M2Eclipse project was donated to the Eclipse foundation by Sonatype and is now called simply M2E. As of the Indigo JEE SR2 release, this plugin can be found in the pre-configured "Indigo" update site contained inside Eclipse, so you don't have to add any new update site.
截至2011年底,M2Eclipse项目由Sonatype捐赠给Eclipse基金会,现在简称为M2E。从Indigo JEE SR2版本开始,此插件可以在Eclipse中包含的预配置“Indigo”更新站点中找到,因此您无需添加任何新的更新站点。
To install, do the following:
要安装,请执行以下操作:
- Launch Eclipse; select the Help->Install New Software menu item.
- 启动Eclipse;选择“帮助” - >“安装新软件”菜单项。
- Select the "Indigo" update site and wait for the software choices to pop up in the table in the lower portion of this "Install" dialog (it can take up to a minute).
- 选择“Indigo”更新站点,然后等待在“安装”对话框下部的表格中弹出软件选项(可能需要一分钟)。
- In the table, select "General Purpose Tools" and then "M2E - Maven Integration for Eclipse", click Next and finish the installation of the plugin.
- 在表格中,选择“通用工具”,然后选择“M2E - Maven Integration for Eclipse”,单击“下一步”完成插件的安装。
- Restart Eclipse as directed.
- 按照指示重启Eclipse。
#2
1
Sometimes, for older Eclipse, like Helios, version 1.5 or 1.4 throws similar error. You can try with 1.3 in that case :
有时,对于较旧的Eclipse,如Helios,版本1.5或1.4会引发类似的错误。在这种情况下,您可以尝试使用1.3:
http://download.eclipse.org/technology/m2e/releases/1.3
#1
30
As of late 2011, the M2Eclipse project was donated to the Eclipse foundation by Sonatype and is now called simply M2E. As of the Indigo JEE SR2 release, this plugin can be found in the pre-configured "Indigo" update site contained inside Eclipse, so you don't have to add any new update site.
截至2011年底,M2Eclipse项目由Sonatype捐赠给Eclipse基金会,现在简称为M2E。从Indigo JEE SR2版本开始,此插件可以在Eclipse中包含的预配置“Indigo”更新站点中找到,因此您无需添加任何新的更新站点。
To install, do the following:
要安装,请执行以下操作:
- Launch Eclipse; select the Help->Install New Software menu item.
- 启动Eclipse;选择“帮助” - >“安装新软件”菜单项。
- Select the "Indigo" update site and wait for the software choices to pop up in the table in the lower portion of this "Install" dialog (it can take up to a minute).
- 选择“Indigo”更新站点,然后等待在“安装”对话框下部的表格中弹出软件选项(可能需要一分钟)。
- In the table, select "General Purpose Tools" and then "M2E - Maven Integration for Eclipse", click Next and finish the installation of the plugin.
- 在表格中,选择“通用工具”,然后选择“M2E - Maven Integration for Eclipse”,单击“下一步”完成插件的安装。
- Restart Eclipse as directed.
- 按照指示重启Eclipse。
#2
1
Sometimes, for older Eclipse, like Helios, version 1.5 or 1.4 throws similar error. You can try with 1.3 in that case :
有时,对于较旧的Eclipse,如Helios,版本1.5或1.4会引发类似的错误。在这种情况下,您可以尝试使用1.3:
http://download.eclipse.org/technology/m2e/releases/1.3