有 Java 编程相关的问题?

你可以在下面搜索框中键入要查询的问题!

java Eclipse Indigo在安装m2ewtp插件时遇到问题

我想在eclipse Indigo中安装插件m2e wtp,它允许maven构建。战争档案

我尝试使用market place和安装软件选项,但得到的结果是:

enter image description here

https://www.eclipse.org/m2e-wtp/download/网站上,我看到一条信息,上面写着:

Please note that, m2e-wtp and Sonatype's m2eclipse-wtp overlap and can not be installed together.

但我不明白这是不是我的案子。我检查了我安装的插件,没有看到任何地方提到Sonatype,请看我的m2e安装插件的图片:

enter image description here

我想它可能已经安装好了,所以我尝试从svn位置和本地工作区导入一个需要该插件的maven项目,但没有成功:

enter image description here

我的eclipse缺少什么,为什么我不能支持需要m2e wtp插件的项目


共 (1) 个答案

  1. # 1 楼答案

    由于安装失败,您在已安装的插件中看不到该插件:

    The m2eclipse-wtp project has moved to the Eclipse Foundation. The m2eclipse-wtp plugin is now deprecated in favor of the newer m2e-wtp

    Automatic installation from the marketplace has been suspended. m2eclipse-wtp 0.15.3 can be manually installed from http://download.jboss.org/jbosstools/updates/m2eclipse-wtp/

    发件人:http://marketplace.eclipse.org/content/maven-integration-eclipse-wtp

    您应该通过Eclipse Marketplace安装m2e-wtp。只需注意实际安装m2e-wtp而不是m2eclipse-wtp(只需搜索“m2e-wtp”,因为有些搜索实际上会带来旧的m2eclipse-wtp插件)。m2e插件的groupId为org.eclipse.m2e