Thanks for the response Maneesh, I removed the annotations and then i think the real problem comes to the surface. Now i have a new error stack here it is
[DEBUG] Rebinding com.packtpub.gwtbook.samples.client.PrimesService
[DEBUG] Assimilating generated source
[ERROR] Errors in 'transient source for com.packtpub.gwtbook.samples.client.PrimesService_Proxy'
[ERROR] Line 26: The return type is incompatible with PrimesServiceAsync.isPrime(int, AsyncCallback)
[ERROR] Compilation problem due to 'transient source for com.packtpub.gwtbook.samples.client.PrimesService_Proxy'; see snapshot C:\Users\hp\AppData\Local\Temp\gen2332534200013751255.java
[ERROR] Unable to find recently-generated type 'com.packtpub.gwtbook.samples.client.PrimesService_Proxy
[ERROR] Deferred binding failed for 'com.packtpub.gwtbook.samples.client.PrimesService'; expect subsequent failures
[ERROR] Unable to load module entry point class com.packtpub.gwtbook.samples.client.PrimesClient
java.lang.RuntimeException: Deferred binding failed for 'com.packtpub.gwtbook.samples.client.PrimesService' (did you forget to inherit a required module?)
at com.google.gwt.dev.shell.JavaScriptHost.rebindAndCreate(JavaScriptHost.java:162)
at com.google.gwt.dev.shell.ShellGWT.create(ShellGWT.java:24)
at com.google.gwt.core.client.GWT.create(transient source for com.google.gwt.core.client.GWT:20)
at com.packtpub.gwtbook.samples.client.PrimesClient.onModuleLoad(PrimesClient.java:20)
at com.google.gwt.dev.shell.ModuleSpace.onLoad(ModuleSpace.java:138)
at com.google.gwt.dev.shell.BrowserWidget.attachModuleSpace(BrowserWidget.java:313)
at com.google.gwt.dev.shell.ie.BrowserWidgetIE6.access$100(BrowserWidgetIE6.java:34)
at com.google.gwt.dev.shell.ie.BrowserWidgetIE6$External.gwtOnLoad(BrowserWidgetIE6.java:61)
at com.google.gwt.dev.shell.ie.BrowserWidgetIE6$External.invoke(BrowserWidgetIE6.java:106)
at com.google.gwt.dev.shell.ie.IDispatchImpl.Invoke(IDispatchImpl.java:274)
Caused by: com.google.gwt.core.ext.UnableToCompleteException: (see previous log entries)
at com.google.gwt.dev.shell.ModuleSpace.rebind(ModuleSpace.java:241)
at com.google.gwt.dev.shell.ModuleSpace.rebindAndCreate(ModuleSpace.java:171)
at com.google.gwt.dev.shell.JavaScriptHost.rebindAndCreate(JavaScriptHost.java:157)
at com.google.gwt.dev.shell.ShellGWT.create(ShellGWT.java:24)
at com.google.gwt.core.client.GWT.create(transient source for com.google.gwt.core.client.GWT:20)
at com.packtpub.gwtbook.samples.client.PrimesClient.onModuleLoad(PrimesClient.java:20)
at com.google.gwt.dev.shell.ModuleSpace.onLoad(ModuleSpace.java:138)
at com.google.gwt.dev.shell.BrowserWidget.attachModuleSpace(BrowserWidget.java:313)
at com.google.gwt.dev.shell.ie.BrowserWidgetIE6.access$100(BrowserWidgetIE6.java:34)
at com.google.gwt.dev.shell.ie.BrowserWidgetIE6$External.gwtOnLoad(BrowserWidgetIE6.java:61)
[ERROR] Failure to load module 'com.packtpub.gwtbook.samples.Samples'
Why is it saying Failure to load module ? where exactly is teh problem the code is very simple and its just a
Test Code.