Ok, this one has me positively baffled.
Where I work, an Eclipse project was started, using Google's GWT.
Now, we have the unusual situation for this that the project is on a network drive.
I was working on the project as well.
One of the other developers added the line:
<inherits name='com.sencha.gxt.ui.GXT'/>
to the project's .gwt.xml file. No problems, he can still run the project in development mode.
However, when I try to run it, I get the following message in the browser
PHP Code:
onModuleLoad() threw an exception
Exception while loading module com.google.gwt.user.client.UserAgentAsserter. See Development Mode for details.
java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at com.google.gwt.dev.shell.ModuleSpace.onLoad(ModuleSpace.java:396)
at com.google.gwt.dev.shell.OophmSessionHandler.loadModule(OophmSessionHandler.java:200)
at com.google.gwt.dev.shell.BrowserChannelServer.processConnection(BrowserChannelServer.java:525)
at com.google.gwt.dev.shell.BrowserChannelServer.run(BrowserChannelServer.java:363)
at java.lang.Thread.run(Thread.java:662)
Caused by: java.lang.RuntimeException: Deferred binding failed for 'com.google.gwt.user.client.UserAgentAsserter$UserAgentProperty' (did you forget to inherit a required module?)
at com.google.gwt.dev.shell.GWTBridgeImpl.create(GWTBridgeImpl.java:53)
at com.google.gwt.core.client.GWT.create(GWT.java:97)
at com.google.gwt.user.client.UserAgentAsserter.onModuleLoad(UserAgentAsserter.java:44)
... 9 more
Caused by: com.google.gwt.core.ext.UnableToCompleteException: (see previous log entries)
at com.google.gwt.dev.shell.ModuleSpace.rebind(ModuleSpace.java:595)
at com.google.gwt.dev.shell.ModuleSpace.rebindAndCreate(ModuleSpace.java:455)
at com.google.gwt.dev.shell.GWTBridgeImpl.create(GWTBridgeImpl.java:49)
... 11 more
This happens whether I use Firefox 10 or IE9.
Another developer, who had not previously been working on the project, then imported the project into Eclipse. He has no problems.
Eliminating the "inherits" for GXT solves the problem, but then we can't use the GXT classes.
Any idea what's going on? Am I missing any information that would help resolve this problem? Many thanks in advance!