If you add Objectify (http://code.google.com/p/objectify-appengine/wiki/ObjectifyWithGWT) to your project, you will be able to use the datastore basic types (Email, Link, GeoPt, etc) in GWT without any extra effort.
This works even if you don't use the Objectify persistence system. Jeff On Mon, Feb 8, 2010 at 8:45 AM, watch <[email protected]> wrote: > What is need to get Eclipse to compile AppEngine functions: > > import com.google.appengine.api.users.User; > -- Unable to resolve - source code unavailable. > > One suggestion was to create a super class to fool the GWT compiler > but that only gets you so far. > > I have even gone back to basic and worked through the turorial > http://code.google.com/webtoolkit/doc/latest/tutorial/appengine.html > but the same things happens: > > ERROR] StockWatcher/src/com/google/gwt/sample/stockwatcher/client/ > StockWatcher.java' > [ERROR] Line 36: UserService cannot be resolved to a type > [ERROR] Line 36: No source code is available for type UserService; did > you forget to inherit a required module? > [ERROR] Line 36: UserServiceFactory cannot be resolved > > I know this is a common problem, since there is plenty of refreances > to it, but no soloution. This is particularly fustrating as it fails > on a basic tutorial. > > Any Help? > > -- > You received this message because you are subscribed to the Google Groups > "Google App Engine for Java" 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-appengine-java?hl=en. > > -- You received this message because you are subscribed to the Google Groups "Google App Engine for Java" 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-appengine-java?hl=en.
