Hi
Removing units with errors
[ERROR] Errors in 'file:/home/tower/Book/G-example/src/org/example/
client/ajson.java'
[ERROR] Line 45: RequestBuilder cannot be resolved to a type
[ERROR] Line 45: RequestBuilder cannot be resolved to a type
[ERROR] Line 45: RequestBuilder cannot be resolved
[ERROR] Line 49: RequestException cannot be resolved to a type
[ERROR] Line 54: RequestCallback cannot be resolved to a type
[ERROR] Line 56: Request cannot be resolved to a type
[ERROR] Line 61: Request cannot be resolved to a type
[ERROR] Line 61: Response cannot be resolved to a type
Any of the cannot be resolved to a type can be corrected by including the
correct class/jar in your project, please check the request builder class
try {
Request response = builder.sendRequest(null, new
RequestCallback() {
public void onError(Request request, Throwable exception) {
// Code omitted for clarity
}
When you are sending a request there has to be corresponding service for
handling the request, so if u have some service to be called then put in
inthe builder.sendRequest(service, new RequestCallback(){...........
yours
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Google Web Toolkit" group.
To post to this group, send email to [email protected]
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
-~----------~----~----~----~------~----~------~--~---