i get the following app engine error

NoClassDefFoundError: com/google/gwt/maps/client/geocode/DirectionsCallback


when executing the following code on the server

 String fromTo = from + to;

             Directions.load(fromTo, new DirectionsCallback() {
                 public void onFailure(int statusCode) {
                     log.severe("directions call back failure ");
                     }
                 
                 public void onSuccess(DirectionResults result) {
                     Distance distance = result.getDistance();
                     // calculate cost of trip
                     double tripMeters = distance.inMeters();
                     double tripKilometers = tripMeters/1000;
                     log.severe("Distance to new pickup order is "+ 
Double.toString(tripKilometers));
                    
                     if ( MAXDISTANCE > tripKilometers){
                        driverDistanceStatus = true;
                        }
                    }
                 });

can anyone tell me why?

Thanks

-- 
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.

Reply via email to