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).
See 
http://gwt-maven-plugin.github.io/gwt-maven-plugin/user-guide/using-different-gwt-sdk-version.html;
 
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/String.java
> [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:
>
>
> https://groups.google.com/forum/#!topic/Google-Web-Toolkit-Contributors/4IY_L0Hj1cU
> and
> https://github.com/gwtproject/gwt/issues/9423 (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 [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.

Reply via email to