While attempting to run my application in GWT dev mode from Intellij, I encountered the following error message:
ERROR: Failed to create an instance of 'com.vaadin.client.ApplicationConnection' via deferred binding
java.lang.RuntimeException: Deferred binding failed for 'com.vaadin.client.metadata.ConnectorBundleLoader' (did you forget to inherit a required module?)
at com.google.gwt.dev.shell.GWTBridgeImpl.create(GWTBridgeImpl.java:53)
at com.google.gwt.core.shared.GWT.createImpl(GWT.java:83)
at com.google.gwt.core.shared.GWT.create(GWT.java:65)
at com.vaadin.client.metadata.ConnectorBundleLoader.get(ConnectorBundleLoader.java:76)
...
Caused by: com.google.gwt.dev.shell.BrowserChannel$RemoteDeathError: Remote connection lost
Based on the error message, it appears that I may have forgotten to inherit a necessary module. The specific module containing the "com.vaadin.client.ApplicationConnection" class is not clear to me, especially since this class belongs to Vaadin itself. I am currently using Vaadin version 7.4.6 and have already inherited
<inherits name="com.vaadin.DefaultWidgetSet" />
.