eclipse 3.5.1 (Galileo) 与 ubuntu 9.10 (Karmic) 崩溃了!无法安装maven2插件! (或任何其他插件)
我在网上看到很多与修复无法按下的按钮以及修复代理网络问题相关的内容。这对我来说似乎是一个不同的问题,与 maven2 的 jem.util.0.0.0 或其他插件所需的库相关。
设置:
使用 apt-get 安装 Eclipse 3.5.1 (Galileo)。 Ubuntu 9.10 (Karmic Koala)(这是作为虚拟机运行,这并不重要。)
一般问题描述: Maven2 eclipse插件安装失败。
具体来说,我无法使用此目标站点从 eclipse 安装流程安装 maven2 插件: http://m2eclipse.sonatype.org/sites/m2e/
找到maven站点,安装开始,然后返回此错误:
无法完成安装,因为找不到一个或多个必需的项目。 正在安装的软件:Maven Integration for Eclipse(必需)0.10.0.20100209-0800\ (org.maven.ide.eclipse.feature.feature.group 0.10.0.20100209-0800) 缺少要求:Maven Integration for Eclipse(必需)0.10.0.20100209-0800(org\ .maven.ide.eclipse.feature.feature.group 0.10.0.20100209-0800) 需要 'org.eclipse.jem.\ util 0.0.0',但找不到
Ubuntu 官方文档声称支持 eclipse 3.5.1,并建议使用 Synaptic 包管理器,除此之外没有任何其他问题。
有人对此有任何见解吗?
I see a lot of stuff online related to fixing buttons that can't be pressed, and fixing network issues with proxies. This seems like a different problem to me, related to jem.util.0.0.0 in the case of maven2 or needed libs for other plugins.
The setup:
Eclipse 3.5.1 (Galileo) installed with apt-get.
Ubuntu 9.10 (Karmic Koala) (This is running as a VM, not that is should matter.)
General problem description:
Maven2 eclipse plugin installation fails.
Specifically, I can not install maven2 plugin from the eclipse installation flow using this target site:
http://m2eclipse.sonatype.org/sites/m2e/
The maven site is found, installation begins, and then returns this error:
Cannot complete the install because one or more required items could not be found.
Software being installed: Maven Integration for Eclipse (Required) 0.10.0.20100209-0800\
(org.maven.ide.eclipse.feature.feature.group 0.10.0.20100209-0800)
Missing requirement: Maven Integration for Eclipse (Required) 0.10.0.20100209-0800 (org\
.maven.ide.eclipse.feature.feature.group 0.10.0.20100209-0800) requires 'org.eclipse.jem.\
util 0.0.0' but it could not be found
Official Ubuntu documentation claims eclipse 3.5.1 support, and recommends using the Synaptic Package Manager, and nothing else about any issues.
Does anyone has any insight into this?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(7)
我设法安装了它,但您需要确保不仅仅验证 m2eclipse 站点,还验证 Galileo 或 Helios 更新站点。
然后,P2 机制将为您下载所有依赖项(wst、emf、gef...),进行 帕斯卡的答案绝对不需要。
替代文本 http://img401.imageshack.us/img401/331/eclipsem2install.png< /a>
I manage to install it, but you need to be sure you do not validate just the m2eclipse site, but also the Galileo or Helios update site.
The P2 mechanism will then download all the dependencies (wst, emf, gef, ...) for you, making the manipulations described by Pascal's answer absolutely not needed.
alt text http://img401.imageshack.us/img401/331/eclipsem2install.png
好的 - 所以我通过以下步骤让它工作:
从 Eclipse 菜单 >肝病>安装新软件>与...一起工作
添加以下站点:
Galileo - http://download.eclipse.org/releases/galileo
现在安装以下内容 (如果还没有):
完成后,我就能够通过相同的过程成功安装 Maven。
我主要只是闲逛,看看它是否有效。
上面的一些内容可能是多余的或者不是每个人都需要的。
也许帕斯卡的回答更加直接和直接。
无论如何,它现在正在发挥作用。
谢谢!
OK - so I got this to work with the following steps:
From Eclipse Menu > Hep > Install New Software > Work With...
Add the following site:
Galileo - http://download.eclipse.org/releases/galileo
Now install the following (if not there already):
Once that was done, I was able to successfully install Maven through the same process.
I was mainly just fooling around to see if it would work or not.
Some of the above may be redundant or not needed by everyone.
Maybe Pascal's answer is more direct and straightforward.
Anyway, it is working now.
Thanks!
我记不清了,但我想我必须从 Eclipse 的可视化编辑器安装 JEM udpate网站。但我没有使用 Eclipse 的打包版本,因此我无法保证您不必安装更多东西。实际上,根据 此页面,您可能需要:
就个人而言,我 不建议使用打包版本(即我更喜欢手动安装)。
I can't remember exactly but I think I had to install JEM from Eclipse's Visual Editor udpate site. But I'm not using the packaged version of Eclipse so I can't certify you won't have to install more stuff. Actually, according to this page, you might have to:
Personally, I don't recommend using the packaged version though (i.e. I prefer to install it manually).
解决此问题的最简单方法是在使用 eclipse 安装管理器安装 m2eclipse 之前使用 synaptic 包管理器安装 maven2。所以步骤是:
1)系统->管理->突触包管理器:检查maven2(及其所有依赖项)
2)eclipse->帮助->安装新软件:使用 http://m2eclipse.sonatype.org/sites/m2e 并按照安装说明进行操作。
The easiest way to fix this is to use the synaptic package manager to install maven2 before you install m2eclipse using the eclipse installtion manager. So the steps would be:
1) system->administration->synaptic package manager: check maven2 (and all of its dependencies)
2) eclipse->help->install new software: use http://m2eclipse.sonatype.org/sites/m2e and follow the installation directions.
一般来说,在处理 Java 工具时,最好手动安装它们,而不是依赖 Linux 打包机制。 Java 应用程序通常有自己的依赖机制,这些机制工作得更好/维护得更好,而且我发现不混合两者会减少麻烦。
In general when dealing Java tools it's best to install them manually rather than relying on the Linux packaging mechanisms. Java applications typically have their own dependency mechanisms which work better/are better maintained and I find less hassles by not to mixing the two.
问题是 Gnome API 的更改阻止了某些 SWT 小部件接收显示事件。它已在 Eclipse 3.6 代码中修复,对于旧版本只需设置环境变量 GDK_NATIVE_WINDOWS=true 即可。
The problem is Gnome API changes that blocks some SWT widgets from receiving display events. It was fixed in the Eclipse 3.6 code, for older versions just set environment variable GDK_NATIVE_WINDOWS=true.
当我升级到 Karmic 时遇到了一些麻烦 - 插件安装对话框只有一半功能。原来是GDK的问题。有一个简单的修复方法 - 在您的环境中设置 GDK_NATIVE_WINDOWS=1 。 http://blog.export .be/2009/10/fixing-eclipse-for-ubuntu-karmic-koala-9-10/
I had some trouble when I upgraded to Karmic - the plugin installation dialog was only half-functional. It turned out to be an issue with GDK. There's an easy fix - set GDK_NATIVE_WINDOWS=1 in your environment. http://blog.export.be/2009/10/fixing-eclipse-for-ubuntu-karmic-koala-9-10/