GWT "No source code is available for type" when incrementalCompileWarnings flag set to true

492 Views Asked by At

Our project compiles fine when flag incrementalCompileWarnings isn't set to true (for maven-gwt-plugin). When it's set, there appear several errors like this:

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?

However I have the required line in MyModule.gwt.xml:

  <inherits name="my.module.service.client.SomeClient"/>

What could cause the problem?

1

There are 1 best solutions below

2
On

The error states that the file is retrieved from a jar. It could be that the jar is not up to date.