繁体   English   中英

Eclipse m2e插件似乎需要org.eclipse.jem.util 0.0.0

[英]Eclipse m2e plugin seems to require org.eclipse.jem.util 0.0.0

我尝试使用帮助>安装新软件和更新站点http://download.eclipse.org/technology/m2e/releases为Eclipse Juno安装M2E插件。 当我尝试安装'Maven Integration for Eclipse'时,我收到以下消息:

Cannot complete the install because one or more required items could not be found.
  Software being installed: m2e - Maven Integration for Eclipse 1.3.1.20130219-1424 (org.eclipse.m2e.feature.feature.group 1.3.1.20130219-1424)
  Missing requirement: m2e - Maven Integration for Eclipse 1.3.1.20130219-1424
  (org.eclipse.m2e.feature.feature.group 1.3.1.20130219-1424) requires
  'org.eclipse.jem.util 0.0.0' but it could not be found

如何避免此错误并安装M2E插件?

此问题是由我的Eclipse安装目录不可写引起的。 这是一个全新的未配置的开箱即用安装,我已经在Linux上的/opt/eclipse下安装了它。 但是,Eclipse希望写入安装目录的configurationp2子目录,除非另有配置,如果无法写入,它将不会给出任何明显的错误。

您可以通过确保用户可以写入Eclipse的安装目录来避免此错误。

即使在运行具有完全权限的Eclipse实例时,我也遇到了同样的问题。 实际上解决了我的问题是提供Eclipse更新站点(即在我的情况下......)

http://download.eclipse.org/releases/helios/

...除了Maven更新站点本身:

http://download.eclipse.org/technology/m2e/releases

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM