Tuesday, June 1, 2010

GWT 2.0

Hi,
I am new to GWT and in learning mode.
I working with GWT 2.0 / Eclipse 3.5 / JDK 1.5 / IE 8.0

As per getting started guide if I paste the url which i get in
deployment mode to IE 8.0, then I get following
but browser is not displaying "text box"

Web Application Starter Project

Please enter your name:


And in eclipse I am getting following error:

09:50:37.302 [ERROR] [test_gwt] Failed to create an instance of
'com.kapil.test.client.Test_GWT' via deferred binding
java.lang.RuntimeException: Deferred binding failed for
'com.kapil.test.client.GreetingService' (did you forget to inherit a
required module?)
at
com.google.gwt.dev.shell.GWTBridgeImpl.create(GWTBridgeImpl.java:43)
at com.google.gwt.core.client.GWT.create(GWT.java:98)
at com.kapil.test.client.Test_GWT.<init>(Test_GWT.java:36)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native
Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown
Source)
at
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown
Source)
at java.lang.reflect.Constructor.newInstance(Unknown Source)
at
com.google.gwt.dev.shell.ModuleSpace.rebindAndCreate(ModuleSpace.java:
422)
at com.google.gwt.dev.shell.ModuleSpace.onLoad(ModuleSpace.java:
361)
at
com.google.gwt.dev.shell.OophmSessionHandler.loadModule(OophmSessionHandler.java:
185)
at
com.google.gwt.dev.shell.BrowserChannelServer.processConnection(BrowserChannelServer.java:
380)
at
com.google.gwt.dev.shell.BrowserChannelServer.run(BrowserChannelServer.java:
222)
at java.lang.Thread.run(Unknown Source)
Caused by: java.lang.NoSuchMethodError:
java.lang.Class.getCanonicalName()Ljava/lang/String;
at
com.google.gwt.user.rebind.rpc.ProxyCreator.getSourceWriter(ProxyCreator.java:
759)
at
com.google.gwt.user.rebind.rpc.ProxyCreator.create(ProxyCreator.java:
225)
at
com.google.gwt.user.rebind.rpc.ServiceInterfaceProxyGenerator.generate(ServiceInterfaceProxyGenerator.java:
57)
at
com.google.gwt.dev.javac.StandardGeneratorContext.runGenerator(StandardGeneratorContext.java:
418)
at
com.google.gwt.dev.cfg.RuleGenerateWith.realize(RuleGenerateWith.java:
38)
at com.google.gwt.dev.shell.StandardRebindOracle
$Rebinder.tryRebind(StandardRebindOracle.java:108)
at com.google.gwt.dev.shell.StandardRebindOracle
$Rebinder.rebind(StandardRebindOracle.java:54)
at
com.google.gwt.dev.shell.StandardRebindOracle.rebind(StandardRebindOracle.java:
154)
at
com.google.gwt.dev.shell.ShellModuleSpaceHost.rebind(ShellModuleSpaceHost.java:
119)
at com.google.gwt.dev.shell.ModuleSpace.rebind(ModuleSpace.java:
531)
at
com.google.gwt.dev.shell.ModuleSpace.rebindAndCreate(ModuleSpace.java:
414)
at
com.google.gwt.dev.shell.GWTBridgeImpl.create(GWTBridgeImpl.java:39)
at com.google.gwt.core.client.GWT.create(GWT.java:98)
at com.kapil.test.client.Test_GWT.<init>(Test_GWT.java:36)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native
Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown
Source)
at
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown
Source)
at java.lang.reflect.Constructor.newInstance(Unknown Source)
at
com.google.gwt.dev.shell.ModuleSpace.rebindAndCreate(ModuleSpace.java:
422)
at com.google.gwt.dev.shell.ModuleSpace.onLoad(ModuleSpace.java:
361)
at
com.google.gwt.dev.shell.OophmSessionHandler.loadModule(OophmSessionHandler.java:
185)
at
com.google.gwt.dev.shell.BrowserChannelServer.processConnection(BrowserChannelServer.java:
380)
at
com.google.gwt.dev.shell.BrowserChannelServer.run(BrowserChannelServer.java:
222)
at java.lang.Thread.run(Unknown Source)

09:50:37.369 [DEBUG] [test_gwt] Rebinding
com.google.gwt.core.client.impl.SchedulerImpl
09:50:37.380 [WARN] [test_gwt] For the following type(s), generated
source was never committed (did you forget to call commit()?)
09:50:37.427 [WARN] [test_gwt]
com.kapil.test.client.GreetingService_Proxy
09:50:37.489 [ERROR] [test_gwt] Unable to load module entry point
class com.kapil.test.client.Test_GWT (see associated exception for
details)
09:50:37.531 [ERROR] [test_gwt] Failed to load module 'test_gwt' from
user agent 'Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; WOW64;
Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR
3.0.30729; Media Center PC 6.0; MASN)' at 127.0.0.1:49935

Any idea what's causing this issue?

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to google-web-toolkit+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.

No comments:

Post a Comment