I am trying to get default version of appengine app by running the 
following:

import com.google.appengine.api.labs.servers.ServersService;
import com.google.appengine.api.labs.servers.ServersServiceFactory;

...

ServersService ssf = ServersServiceFactory.getServersService();
String defaultVersion=ssf.getDefaultVersion(ssf.getCurrentServer());



and get this error message:
com.google.apphosting.api.ApiProxy$CallNotFoundException: The API package 
'servers' or call 'GetDefaultVersion()' was not found.

What am I doing wrong?

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/google-appengine.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to