导入 Maven-GWT 项目时出错(“没有找到处理 gwt-maven-plugin 的市场条目") [英] Error when importing Maven-GWT project ("No marketplace entries found to handle gwt-maven-plugin")

查看:24
本文介绍了导入 Maven-GWT 项目时出错(“没有找到处理 gwt-maven-plugin 的市场条目")的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在 Win XP、Maven 3.0.3 和 GWT 2.4 上使用 Eclipse Indigo.我使用 Mavne gwt archetype 创建了一个 Maven-GWT 项目.然后我打开 Eclipse,转到 File ->导入,选择Existing Maven Projects,为我的GWT-Maven项目选择pom,然后得到这个对话框:

I'm using Eclipse Indigo on Win XP, Maven 3.0.3 and GWT 2.4. I created a Maven-GWT project using the Mavne gwt archetype. Then I opened Eclipse, went to File -> Import, selected Existing Maven Projects, chose the pom for my GWT-Maven project, and then got this dialog:

错误是

No marketplace entries found to handle gwt-maven-plugin:2.4.0:generateAsync in Eclipse.  Please see Help for more information.
No marketplace entries found to handle gwt-maven-plugin:2.4.0:i18n in Eclipse.  Please see Help for more information.
No marketplace entries found to handle maven-war-plugin:2.1.1:exploded in Eclipse.  Please see Help for more information.

有人知道如何解决这些错误吗?当我实际导入我的项目并尝试使用它时,这会造成严重破坏.- 戴夫

Anyone know how to resolve these errors? It is wreaking havoc when I actually import my project and try and work with it. - Dave

推荐答案

确保您没有使用 Eclipse 的嵌入式 Maven.

Make sure you are not using the embedded Maven of Eclipse.

转到<代码>窗口->首选项->Maven ->安装-> 在那里选择你自己的 maven 安装文件夹.

Go to Window->Preference ->Maven -> Installation->choose your own maven installation folder there.

如果您的公司为 IDE 付费,您应该要求 IntelliJ Java IDE,其中我会说在很多方面都比 Eclipse 好,并不是说 Eclipse 不好,那只是一个不错的选择.你不会有这个问题开始

If your company pays for IDE, you should ask for IntelliJ the IDE for Java, which I would say is better than Eclipse in many ways, not saying Eclipse is not good, that's just a good alternative. And you won't have this issue to start with

这篇关于导入 Maven-GWT 项目时出错(“没有找到处理 gwt-maven-plugin 的市场条目")的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆