在 Eclipse (Galileo) 中安装 Maven 插件 (m2eclipse) 时出现问题 [英] Problem installing Maven plugin (m2eclipse) in Eclipse (Galileo)

查看:41
本文介绍了在 Eclipse (Galileo) 中安装 Maven 插件 (m2eclipse) 时出现问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经安装了 Eclipse Galileo(用于 Java EE 开发人员),现在我正在尝试安装 m2eclipse Maven 插件.

I have Eclipse Galileo (for Java EE Developers) installed, and I'm now trying to get the m2eclipse Maven plugin installed as well.

我遵循 http://m2eclipse.sonatype.org/installing-m2eclipse 中描述的基本步骤.html,它似乎安装得很好.但是,在安装后重新启动 Eclipse 后,它似乎不在任何地方.例如,我应该能够创建一个新的 maven 项目,但是当新项目向导打开时,没有 Maven 文件夹(我在现有项目的上下文菜单中也找不到任何对它的引用).

I follow the basic steps described at http://m2eclipse.sonatype.org/installing-m2eclipse.html, and it seems to be installing just fine. However, after restarting Eclipse after the install it doesn't seem to be anywhere. I should for instance have the ability to create a new maven project, but when the new-project wizard opens, there is no folder for Maven (I also cannot find any reference to it in the context menus of the existing projects I have).

当我单击帮助">关于 Eclipse">安装详细信息"时,我在已安装软件"选项卡中找到Eclipse 的 Maven 集成(必需)",另一件事指向成功安装(但我找不到它在插件"选项卡下,它应该也在那里吗?)...

When I click at Help > About Eclipse > Installation Details, I find "Maven Integration for Eclipse (Required)" in the tab "Installed Software", yet another thing pointing towards a successful installation (but I can't find it under the "Plug-ins" tab, should it be there too?)...

我觉得我只是错过了一些非常明显的东西,但现在我只是看不到它......

I feel like I'm just missing something very obvious, but right now I just don't see it...

推荐答案

我自己找到了答案:

我已将 Eclipse 安装文件夹放在 c:Program Files 下,但是当我将它直接移动到 c: 下时,插件安装工作正常.我认为这是因为不允许 Eclipse 写入它自己的安装文件夹(但我没有从 Windows 得到通常的问题,即某些东西正在尝试访问 Program Files...).

I had put the Eclipse installation folder under c:Program Files, but when I moved it directly under c: instead, the plug-in installation worked just as it should. I assume that is because Eclipse wasn't allowed to write to its own installation folder (but I didn't get the usual question from Windows that something was trying to access Program Files either...).

在某种程度上,我觉得我应该为我以前没有想到这一点而感到羞愧.但另一方面,可能会出现一些合理的错误消息,说明在插件安装过程中发生了一些故障......

In one way I feel like I should be a bit ashamed that I didn't think of this before. On the other hand though, there could have been some reasonable error message stating that something failed during the plug-in installation...

嗯,我希望这至少对其他人也有帮助:)

Well, I hope this at least helps somebody else as well :)

这篇关于在 Eclipse (Galileo) 中安装 Maven 插件 (m2eclipse) 时出现问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆