【问题标题】:Eclipse Indigo having problems installing m2e-wtp pluginEclipse Indigo 在安装 m2e-wtp 插件时遇到问题
【发布时间】:2012-11-19 17:14:28
【问题描述】:

我想在我的 Eclipse Indigo 中安装插件 m2e-wtp,它允许 maven 构建 .war 文件。

我尝试了使用市场以及安装软件选项,但我得到的是:

在网站https://www.eclipse.org/m2e-wtp/download/ 我看到一条消息说:

请注意,m2e-wtp 和 Sonatype 的 m2eclipse-wtp 重叠并且可以 不能一起安装。

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

我认为它可能已经安装,所以我尝试从 svn 位置和本地工作区导入需要此插件的 maven 项目,但它不起作用:

我的 Eclipse 中缺少什么,为什么我不能进行需要 m2e-wtp 插件的项目?

【问题讨论】:

    标签: java eclipse maven plugins eclipse-wtp


    【解决方案1】:

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

    m2eclipse-wtp 项目已移至 Eclipse 基金会。 m2eclipse-wtp 插件现已弃用,取而代之的是更新的 m2e-wtp

    从市场自动安装已暂停。 m2eclipse-wtp 0.15.3 可以从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

    【讨论】:

    • 市场将我带到选择功能页面,我可以在其中看到该组 ID,但弹出一条错误消息并显示 Artifact not found: http://download.eclipse.org/m2e-wtp/releases/content.jar. 是否存在冲突?可能已经安装了错误的,如何检查和修复?
    • 不能说,可能是网络故障?您可以在Help > About > Installation Details 下看到已安装的插件。如果安装了 m2eclipse-wtp,它应该列在那里。
    • 不,未列出。对我来说,没有什么看起来像网络错误。我没有想法。这就是错误日志所说的:java.io.FileNotFoundException: http://download.eclipse.org/m2e-wtp/releases/content.jar at org.eclipse.equinox.internal.p2.transport.ecf.RepositoryStatusHelper.checkFileNotFound(RepositoryStatusHelper.java:297) ...
    猜你喜欢
    • 2011-10-30
    • 1970-01-01
    • 2014-10-05
    • 2012-08-28
    • 2015-01-15
    • 2016-04-19
    • 2012-08-29
    • 1970-01-01
    • 2015-01-05
    相关资源
    最近更新 更多