GAE/GWT: Error loading modules: Unable to find 'com/androidstartup/serialization/KPadProject.gwt.xml'

让人想犯罪 __ 提交于 2020-01-03 13:37:35

问题


I am using Eclipse 3.5 with GAE SDK 1.3.7 and GWT SDK 2.1.0 and Restlet 2.0.3. When I run my app, the console log shows:

Loading modules
   com.androidstartup.serialization.KPadProject
      [ERROR] Unable to find 'com/androidstartup/serialization/KPadProject.gwt.xml' on your classpath; could be a typo, or maybe you forgot to include a classpath entry for source?
[ERROR] shell failed in doSlowStartup method

The main module /KPadProject.gwt.xml is in the root package. I checked out the configuration and I think it's all right.

At this point I don't know what to do to solve this problem.


回答1:


In my experience, one of these two solves the problem:

  1. Project -> Properties -> Java build path:

    • Is your XML included in the source?

    • Is the order okay?

  2. In the project you are loading, include the KPadproject as follows:

    <inherits name='com.androidstartyp.serialization.KpadProject'/>;
    

    That is the entire path, with dots instead of slashes, and without the .gwt.xml extension.



来源:https://stackoverflow.com/questions/4127101/gae-gwt-error-loading-modules-unable-to-find-com-androidstartup-serialization

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!