Hi all,
I'm a first time user of objectify and I'm implementing the
intorduction (with slightly modified classes). When calling
ObjectifyService.begin() I already run into trouble: an
IllegalAccessError is thrown:
//Some objectify Test code
ObjectifyService.register(Website.class);
Objectify ofy = ObjectifyService.begin();
Exception:
java.lang.IllegalAccessError: tried to access method
com.google.appengine.api.datastore.DatastoreServiceFactory.getAsyncDatastoreService(Lcom/
google/appengine/api/datastore/DatastoreServiceConfig;)Lcom/google/
appengine/api/datastore/AsyncDatastoreService; from class
com.googlecode.objectify.ObjectifyFactory
at
com.googlecode.objectify.ObjectifyFactory.getRawAsyncDatastoreService(ObjectifyFactory.java:
159)
at
com.googlecode.objectify.ObjectifyFactory.getAsyncDatastoreService(ObjectifyFactory.java:
138)
at
com.googlecode.objectify.ObjectifyFactory.begin(ObjectifyFactory.java:
185)
at
com.googlecode.objectify.ObjectifyFactory.begin(ObjectifyFactory.java:
176)
at
com.googlecode.objectify.ObjectifyService.begin(ObjectifyService.java:
29)
at com.fourture.catalog.server.UserServlet.doGet(UserServlet.java:
23)\
....
Any idea ?
BTW: I'm implementing Objectify in the context of the following
discussion on avoiding Data Transfer Objects:
http://groups.google.com/group/google-appengine-java/browse_thread/thread/9daa7a6d104554a5/aefa84dbd316b650#aefa84dbd316b650
BR
--
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.