incorrect java and gwt compile errors


I have just installed intellij IDEA 13.1 on OSX mavericks.

I am working on a grails gwt project and I seem to be getting these strange compile errors that claim some methods do not exist in the gwt emulation library when in fact they do.

This screenshot claims that Long.parseLong is not present in the emulation library when it is.

Screen Shot 2014-07-08 at 15.38.58.png

Also not that IDEA cannot find the "printStackTrace()" method on exception.

When I dig into some of the Java source I get some strange errors like the one detailed in the screenshot below :

Screen Shot 2014-07-08 at 15.58.39.png

It looks like something is misconfigured but I cannot figure out what.  I can compile the project on the command line and everything is fine, even GWT dev mode.

Here's some config shots :

Screen Shot 2014-07-08 at 15.48.58.png

Screen Shot 2014-07-08 at 15.49.24.png

Any help is greatly appreciated.

Many thanks,

1 comment
Comment actions Permalink

As far as I can tell, invalidate caches and restart fixed this.


Please sign in to leave a comment.