GWT 超级开发模式。代码服务器编译没有从相关项目中看到 类

GWT SuperDevMode. Code server compilaction doesn't see classes from dependent project

我刚刚将我的 GWT 应用程序迁移到版本 2.7,我想开始使用 SuperDevMode。根据这个视频:http://jeff-davis.blogspot.fr/2012/07/setting-up-gwt-25s-superdevmode.html 我已经配置了 CodeServer,但是我 运行 我在日志中收到以下错误:

 Tracing compile failure path for type 'cern.edms.ui.client.service.CaddieServiceAsync'
      Errors in 'file:/C:/dev/Workspace/EDMS-APP/20151015_java7_gwt27/trunk/edms-ui/target/edms-ui-6.1.0-SNAPSHOT/WEB-INF/classes/cern/edms/ui/client/service/CaddieServiceAsync.java'
         Line 62: No source code is available for type cern.edms.ui.client.service.CaddieService; did you forget to inherit a required module?
         Line 13: No source code is available for type cern.edms.ui.shared.auth.UserSession; did you forget to inherit a required module?
         Line 41: No source code is available for type cern.edms.ui.shared.dto.common.NodeDTO; did you forget to inherit a required module?
         Line 13: No source code is available for type cern.edms.ui.shared.dto.base.BaseDTO; did you forget to inherit a required module?
         Line 27: No source code is available for type cern.edms.ui.shared.dto.caddie.CaddieDocumentDTO; did you forget to inherit a required module?
         Line 34: No source code is available for type cern.edms.ui.shared.dto.item.SubItemDTO; did you forget to inherit a required module?
         Line 48: No source code is available for type cern.edms.ui.shared.dto.IntegerListDTO; did you forget to inherit a required module?
         Line 27: No source code is available for type cern.edms.ui.shared.util.AppEnums.CaddieAction; did you forget to inherit a required module?
         Line 27: No source code is available for type cern.edms.ui.client.custom.data.BasicPagingLoadConfig; did you forget to inherit a required module?
   Tracing compile failure path for type 'cern.edms.ui.client.service.FavouritesServiceAsync'
      Errors in 'file:/C:/dev/Workspace/EDMS-APP/20151015_java7_gwt27/trunk/edms-ui/target/edms-ui-6.1.0-SNAPSHOT/WEB-INF/classes/cern/edms/ui/client/service/FavouritesServiceAsync.java'
         Line 13: No source code is available for type cern.edms.ui.shared.auth.UserSession; did you forget to inherit a required module?
         Line 13: No source code is available for type cern.edms.ui.shared.dto.base.BaseDTO; did you forget to inherit a required module?
         Line 41: No source code is available for type cern.edms.ui.client.service.FavouritesService; did you forget to inherit a required module?
         Line 27: No source code is available for type cern.edms.ui.shared.dto.navigator.NavNodeListDTO; did you forget to inherit a required module?
   Tracing compile failure path for type 'cern.edms.ui.client.service.NavigationTreeServiceAsync'
      Errors in 'file:/C:/dev/Workspace/EDMS-APP/20151015_java7_gwt27/trunk/edms-ui/target/edms-ui-6.1.0-SNAPSHOT/WEB-INF/classes/cern/edms/ui/client/service/NavigationTreeServiceAsync.java'
         Line 27: No source code is available for type cern.edms.ui.shared.dto.navigator.NavNodeDTO; did you forget to inherit a required module?
         Line 13: No source code is available for type cern.edms.ui.shared.auth.UserSession; did you forget to inherit a required module?

cern.edms.ui.shared.* 包来自通过 maven 依赖项添加到 GWT 项目的外部项目。

您知道为什么代码服务器在编译应用程序时它们不可用吗?

感谢您的帮助!

The cern.edms.ui.shared.* packages come from external project added to GWT project by maven dependency.

该依赖项是否包含那些 类 的来源?如果没有,是否有另一个罐子(如 -sources 分类器)可能有它们?

如果类路径(或源路径)中没有源代码,GWT 编译器将无法编译应用程序。

问题是我的所有源文件夹都没有在类路径中。我试图只添加整个项目,而不是这些项目的源文件夹。

当我以 运行 应用程序作为 'Web Application (Super Dev Mode)' 而不是为代码服务器创建 java 应用程序时,源文件夹自动添加(在导入相关项目之后)到类路径中。