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

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

问题描述

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



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



当我点击帮助>关于Eclipse>安装详细信息时,我在安装的软件选项卡中找到Maven Integration for Eclipse(必需),另一个指向要成功安装(但是在插件选项卡下找不到它,是否也在那里?)...



我觉得我很明显,只是错过了一些 ,但现在我只是看不到...

解决方案

我设法找到自己的答案:



我把Eclipse安装文件夹放在c:\Program Files\下,但是当我移动它直接在c:\之下,插件安装工作正常。我假设这是因为Eclipse不允许写入自己的安装文件夹(但是我从Windows没有得到通常的问题,有人试图访问程序文件...)。



在某种程度上,我觉得我应该有点ash愧,以前我没有想到这一点。另一方面,可能会出现一些合理的错误消息,指出在插件安装过程中出现故障...



嗯,我希望这至少有助于其他人还有:)


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

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).

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...

解决方案

I managed to find the answer to this myself:

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天全站免登陆