The problem is that you have a mix of rc2 and rc3 libs in your classpath, 
and this is because org.codehaus.mojo:gwt-maven-plugin itself brings GWT 
dependencies (with the same version as the plugin, as a convention).
or use rc3 of the plugin too.

On Thursday, October 13, 2016 at 6:42:31 PM UTC+2, Teletin Alin wrote:
> Hi all,
> I have the following error at compilation:
> Errors in com/google/gwt/emul/java/lang/
> [INFO]             [ERROR] Line 165: 'String.NativeFunction 
> String.getFromCharCodeFunction()' has invalid name 'String.fromCharCode'.
> [INFO]             [ERROR] Line 165: 'String.NativeFunction 
> String.getFromCharCodeFunction()' has invalid namespace '<window>'.
> [INFO]             [ERROR] Line 757: 'String.NativeString' has invalid 
> namespace '<window>'.
> [INFO]       [ERROR] Compiler returned false
> The pom.xml versions for gwt:
> <gwt.maven.plugin.version>2.8.0-rc2-patched</gwt.maven.plugin.version>
> <gwt.version>2.8.0-rc3</gwt.version>
> I search for the issue and there are only 2 relevant discussions:
> and
> (I think the commit from 
> here is causing the issue).
> But I don't get from those discussions how to fix the issue.
> Can you please help me?
> Thank you,
> Alin T.

You received this message because you are subscribed to the Google Groups "GWT 
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
To post to this group, send email to
Visit this group at
For more options, visit

Reply via email to