[英]GWT “No source code is available for type” when incrementalCompileWarnings flag set to true
當標記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"/>
是什么原因引起的?
該錯誤指出該文件是從jar中檢索到的。 可能是罐子不是最新的。
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.