【问题标题】:Cannot create project in eclipse with the gwt-maven-plugin无法使用 gwt-maven-plugin 在 eclipse 中创建项目
【发布时间】:2012-02-02 10:43:21
【问题描述】:

我去了新的>>其他>> maven项目>>选择了nexus indexer或所有其他目录,但是没有gwt-maven-plugin。我试图用愚蠢的细节添加它:

组 id:org.codehaus.mojo

工件 ID:gwt-maven-plugin

版本:2.4.0

仓库地址:repo1.maven.org

但我得到以下错误:

“无法解析原型 org.codehaus.mojo:gwt-maven-plugin:2.4.0 org.eclipse.core.runtime.CoreException: 无法解析工件 org.codehaus.mojo:gwt-maven-plugin:pom:2.4.0"

有人知道为什么会这样吗? 谢谢

【问题讨论】:

标签: eclipse gwt plugins maven


【解决方案1】:

使用 gquery-archetype 生成一个 gwt maven 项目。 然后在不需要的情况下删除 gquery 依赖项。 Gquery 原型维护良好。

别忘了设置项目名称,见截图1

【讨论】:

    【解决方案2】:

    添加 codehaus 原型时,请尝试让 archetypeRepository 为空。它对我有用。

    gquery-archetype 也可以。

    【讨论】:

      猜你喜欢
      • 2011-07-12
      • 1970-01-01
      • 2015-07-08
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2012-10-15
      • 2014-12-04
      • 1970-01-01
      相关资源
      最近更新 更多