我正在将 Eclipse 与 GWT 结合使用,并尝试构建一个基于 Web 的应用程序。我是初学者,不知道这意味着什么。我试图在网上查找但没有令人满意的解释。我只能弄清楚我需要编辑一些文件,但我不知道如何编辑。任何帮助表示赞赏。
Loading modules com.model.WebCrawler.WebCrawler
[ERROR] Unable to find 'com/model/WebCrawler/WebCrawler.gwt.xml' on your classpath; could be a typo, or maybe you forgot to include a classpath entry for source?
[ERROR] shell failed in doStartup method
最佳答案
您需要一个模块 XML 文件才能正确加载您的应用程序。
看看google tutorials并搜索模块 XML 文件。
如果您使用 eclipse 的 gwt 插件,您可以创建一个示例项目,其中将为您生成最困难的部分,以便您几乎可以立即开始使用自定义代码。
关于java - Eclipse + GWT 类路径错误,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/8252939/