Maven在安装了m2e-egit之后在Eclipse IDE (Mars)中发现了缺失

时间:2023-01-25 11:43:58

unable to create a maven project after installing the m2e-egit plugin; Obviously I don't see the maven option under Eclipse > Window > preferences

在安装m2e-egit插件后无法创建maven项目;显然,我没有在Eclipse >窗口>首选项下看到maven选项

Maven在安装了m2e-egit之后在Eclipse IDE (Mars)中发现了缺失Maven在安装了m2e-egit之后在Eclipse IDE (Mars)中发现了缺失

Tool used:

工具:

Eclipse Java EE IDE for Web Developers.Version: Mars Release (4.5.0)

2 个解决方案

#1


7  

Try this :

试试这个:

Firstly, for Maven:Eclipse > Help > Install new software and add http://download.eclipse.org/technology/m2e/releases.

首先,对于Maven:Eclipse >帮助>安装新软件并添加http://download.eclipse.org/technology/m2e/release。

Secondly, for m2e-egit: Eclipse > Help > Install new software and addhttps://repository.takari.io/content/sites/m2e.extras/m2eclipse-egit/0.14.0/N/LATEST/.Because the version of m2e-egit in the Marketplace is outdated

其次,对于m2e-egit: Eclipse >帮助>安装新软件和addhttps:// //储存库.io/content/sites/m2e.extras/m2eclipse-egit/0.14.0/N/LATEST/。因为m2e-egit在市场上的版本已经过时了。

Now restart eclipse.

现在重新启动eclipse。

It perfectly worked for me (Mars Version).

它非常适合我(火星版)。

#2


1  

I had this same issue with m2eclipse-scala. I tracked the issue down to what seems to be multiple installs of the m2e plugin, one explicit and one implicit. This plugin gets installed by m2eclipse-scala if it's not already there (perhaps similarly to how m2e-egit operates). The base version of Eclipse that I'm using does NOT show m2e installed under Window > Installation Details, but all of the Maven buttons and toolbars are already present, and explicitly installing m2e makes them disappear.

我对m2eclipse-scala也有同样的问题。我追踪这个问题,发现m2e插件似乎有多个安装,一个是显式的,一个是隐式的。这个插件是由m2eclipse-scala安装的,如果它还没有安装(也许类似于m2e-egit的运行方式)。我正在使用的Eclipse的基本版本没有显示在窗口>安装细节下安装的m2e,但是所有的Maven按钮和工具栏都已经存在,显式地安装m2e会使它们消失。

#1


7  

Try this :

试试这个:

Firstly, for Maven:Eclipse > Help > Install new software and add http://download.eclipse.org/technology/m2e/releases.

首先,对于Maven:Eclipse >帮助>安装新软件并添加http://download.eclipse.org/technology/m2e/release。

Secondly, for m2e-egit: Eclipse > Help > Install new software and addhttps://repository.takari.io/content/sites/m2e.extras/m2eclipse-egit/0.14.0/N/LATEST/.Because the version of m2e-egit in the Marketplace is outdated

其次,对于m2e-egit: Eclipse >帮助>安装新软件和addhttps:// //储存库.io/content/sites/m2e.extras/m2eclipse-egit/0.14.0/N/LATEST/。因为m2e-egit在市场上的版本已经过时了。

Now restart eclipse.

现在重新启动eclipse。

It perfectly worked for me (Mars Version).

它非常适合我(火星版)。

#2


1  

I had this same issue with m2eclipse-scala. I tracked the issue down to what seems to be multiple installs of the m2e plugin, one explicit and one implicit. This plugin gets installed by m2eclipse-scala if it's not already there (perhaps similarly to how m2e-egit operates). The base version of Eclipse that I'm using does NOT show m2e installed under Window > Installation Details, but all of the Maven buttons and toolbars are already present, and explicitly installing m2e makes them disappear.

我对m2eclipse-scala也有同样的问题。我追踪这个问题,发现m2e插件似乎有多个安装,一个是显式的,一个是隐式的。这个插件是由m2eclipse-scala安装的,如果它还没有安装(也许类似于m2e-egit的运行方式)。我正在使用的Eclipse的基本版本没有显示在窗口>安装细节下安装的m2e,但是所有的Maven按钮和工具栏都已经存在,显式地安装m2e会使它们消失。