Hi,
I am very new to GWT and have been followiung the GWT book by Packt
Publications. When ever i try to execute programs on Remote Services i get
exception- "Failed to load com.packtpub.gwtbook.samples.Sample"
I have the following in my project:
PrimesClient- Entry Point Class present in package
com.packtpub.gwtbook.samples.client
PrimeServiceImpl- Implementation for the Remote Service present in package
com.packtpub.gwtbook.samples.server
PrimesService- Synchronous Service class present in package
com.packtpub.gwtbook.samples.client
PrimeServiceAsync- Asnyncrhonous Service class present in package
com.packtpub.gwtbook.samples.client
And i have Samples.html
These are the series of error messages i get:
[ERROR] Could not find an asynchronous version for the service interface
com.packtpub.gwtbook.samples.client.PrimesService
[ERROR]
package com.packtpub.gwtbook.samples.client;
public interface PrimesServiceAsync {
void isPrimeNumber(int numberToVerify,
com.google.gwt.user.client.rpc.AsyncCallback arg2);
}
[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 (see associated exception
for details)
[ERROR] Failure to load module 'com.packtpub.gwtbook.samples.Samples'
How to go about the remote Services in GWT?
I am using Eclipse and JDK 1.6.10
--
Mohamed Sanaulla
Sun CA, NITK Surathkal
Editor, Let Me Know
http://sanaulla.wordpress.com/
--~--~-~--~~~---~--~~
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 [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~--~~~~--~~--~--~---