简体   繁体   English

Eclipse:安装Spring IDE后,Maven插件消失了

[英]Eclipse: Maven plugin disappears after installing Spring IDE

I'm using Eclipse Mars for Java EE developers so it already comes with Maven plugin installed. 我正在为Java EE开发人员使用Eclipse Mars,因此它已经安装了Maven插件。 However, after installing the Spring IDE from marketplace and restarting eclipse I get the following error: 但是,从市场上安装Spring IDE并重新启动Eclipse之后,出现以下错误:

No editor descriptor for id org.eclipse.m2e.editor.MavenPomEditor

Maven completely disappears. Maven完全消失了。 Can't find it by right clicking on project or in the project properties. 右键单击项目或在项目属性中找不到它。 So I can't even create a new Maven project. 所以我什至不能创建一个新的Maven项目。

Also the Maven Libraries folder from previous project becomes renamed to "Persisted container" and the jar files in there can no longer be referenced. 同样,先前项目中的Maven Libraries文件夹也被重命名为“ Persisted container”,并且其中的jar文件无法再被引用。

Most of the errors while setting up Project Environments are due to improper project setup in our IDEs. 设置项目环境时的大多数错误是由于我们的IDE中项目设置不正确引起的。 Spring community has customized eclipse for all Spring related projects, called Spring STS. Spring社区已为所有与Spring相关的项目定制了Eclipse,称为Spring STS。 You can download it from here . 您可以从这里下载。 It comes with preloaded plugins required for Spring projects. 它带有Spring项目所需的预加载插件。 I would recommend you to use it as you are habitual with eclipse. 我建议您使用它,因为您习惯日食。

Alternatively I would suggest you to use IntelliJ(my favourite) from IDEA. 另外,我建议您使用IDEA中的IntelliJ(我的最爱)。 You can download it from here . 您可以从这里下载。

This is known or open issue with Spring IDE. 这是Spring IDE的已知问题或未解决的问题。 link 链接

To fix you need to install Core/Spring IDE from the manual install site. 要解决此问题,您需要从手动安装站点安装Core / Spring IDE。 Here are the URL: http://springide.org/updatesite 这是URL: http : //springide.org/updatesite

These are the steps you need to follow: 这些是您需要遵循的步骤:
Go to Eclipse IDE, click “Help” -> “Install New Software…”. 转到Eclipse IDE,单击“帮助”->“安装新软件...”。 Type “ http://springide.org/updatesite ” to access the Spring IDE update site. 输入“ http://springide.org/updatesite ”以访问Spring IDE更新站点。

Restart Eclipse after finished. 完成后重新启动Eclipse。

Thanks, 谢谢,

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

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