【发布时间】:2011-07-29 11:41:35
【问题描述】:
我知道这个问题已经出现过几次,但事情变化得非常快,我有点困惑。我正在使用 Eclipse (J2SE 3.6) 中的 Maven (m2Eclipse) 和 Google Eclipse 插件(截至 2011 年 4 月的最新版本)开发我的 GWT (2.2.0) 应用程序,它大部分工作正常,直到爆炸!没有任何效果:) 我将我的项目保存在 SVN 中,没有任何 Eclipse 特定的配置文件,并且我无法恢复环境。
所以,我尝试在网络上寻找一些解决方案,我从 gwt-maven-plugin 站点找到了教程,从 Google Eclipse 插件站点找到了新教程,但它们都没有奏效 - 我还在404 错误,还有很多类路径错误。
有人可以告诉我在 Eclipse 中使用 Maven 使用 Google Eclipse 插件运行 GWT 项目的正确方法吗?
这是项目的 pom.xml 文件:http://pastebin.com/evujwD5F
项目的结构是这样的:
|-src
|-main
|-java
|-org.halish.books (package)
|-client
|-(some client stuff)
|-server
|-(server side, async implementations and stuff)
|-share
|-(shared)
|-BooksApp.gwt.xml
|-resources
|-(nothing here)
|-webapp
|-META-INF
|-persistence.xml
|-log4j.properties
|-WEB-INF
|-web.xml
|-BooksApp.html
|-BooksApp.css
|-pom.xml
非常感谢您的帮助。
问候, 嗯
【问题讨论】:
-
这东西太笨了。此外,任何认为 XML 是可接受的 UI 的人都需要吊销其开发人员许可证。
标签: eclipse gwt maven-2 google-eclipse-plugin