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

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

问题描述

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





错误是

 没有找到处理gwt-maven-plugin的市场条目:2.4.0:在Eclipse中generateAsync。有关详细信息,请参阅帮助。 
没有找到处理gwt-maven-plugin的市场条目:2.4.0:Eclipse中的i18n。有关详细信息,请参阅帮助。
没有找到处理maven-war-plugin的市场条目:2.1.1:在Eclipse中爆炸。有关详细信息,请参阅帮助。

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

解决方案

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



转到 Window->首选项 - > Maven - >安装 - > 在那里选择你自己的maven安装文件夹。



新编辑:如果您的公司支付IDE,您应该询问IntelliJ IDE for Java, https://www.jetbrains.com/idea/ ,我会说,在许多方面比Eclipse好,不是说Eclipse不好,这只是一个很好的选择。而您不会从此开始:)


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:

The errors are

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

解决方案

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

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

new edit: if your company pays for IDE, you should ask for IntelliJ the IDE for Java, https://www.jetbrains.com/idea/ 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天全站免登陆