当标志 incrementalCompileWarnings 未设置为 true(对于 maven-gwt-plugin)时,我们的项目编译良好。设置后,会出现如下几个错误:
Tracing compile failure path for type 'my.module.client.entryPoint.MyModuleEntryPoint'
[INFO] [ERROR] Errors in 'jar:file:/path/to/jar.jar!/my/module/client/entryPoint/MyModuleEntryPoint.java'
[INFO] [ERROR] Line 76: No source code is available for type my.module.service.client.SomeClientClass; did you forget to inherit a required module?
但是我在 MyModule.gwt.xml 中有所需的行:
<inherits name="my.module.service.client.SomeClient"/>
什么可能导致问题?