我知道这个问题已经出现过几次,但事情变化得非常快,我有点困惑。我正在使用 Eclipse (J2SE 3.6) 中的 Maven (m2Eclipse) 和 Google Eclipse 插件(截至 2011 年 4 月的最新版本)开发我的 GWT (2.2.0) 应用程序,它大部分工作正常,直到爆炸!没有任何效果:) 我将我的项目保存在 SVN 中,没有任何 Eclipse 特定的配置文件,并且我无法恢复环境。
所以,我试着在网上寻找一些解决方案,我从 gwt-maven-plugin 站点找到了教程,从 Google Eclipse Plugin 站点找到了新教程,但它们都没有奏效 - 我仍然收到 404 错误,以及很多类路径错误。
有人可以告诉我使用 Maven 在 Eclipse 中使用 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
我会非常感谢你的帮助。
问候,嗯