GWT project works fine in Eclipse but not IntelliJ Idea.

Is there any document that defines how to migrate a GWT project from Eclipse to IntelliJ?

I have setup the GWT run configuration and when my project launches it seems the GTW bootstrap just doesn't happen right.

onModuleLoad() threw an exception
Exception while loading module See Development Mode for details.
java.lang.reflect.InvocationTargetException at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke( at sun.reflect.DelegatingMethodAccessorImpl.invoke( at java.lang.reflect.Method.invoke( at at at at at Caused by: java.lang.RuntimeException: Deferred binding failed for '' (did you forget to inherit a required module?) at at at at$Util.getInstance( at ... 9 more Caused by: (see previous log entries) at at at ... 13 more

Comment actions Permalink

ok so it turns out my multi module project needed to have GWT facet's configured in every module that had GWT code.

Can anybody explain why that is? What impact does the Facet have?

Comment actions Permalink

When GWT compiler is invoked for a module IDEA adds to its classpath only those modules from its dependencies which have GWT facets.

Nikolay Chashnikov
"Develop with pleasure!"


Please sign in to leave a comment.