Specific GAE SDK version requirements are documented in the Objectify release notes for each version.
Code moves fast in appengine-land! Jeff On Tue, May 3, 2011 at 3:19 PM, GeneralSlaine <lennart.ben...@gmail.com> wrote: > Jeff, > I'm using 1.3.8 I think reading from this Jar file: appengine-api-1.0- > sdk-1.3.8.jar. > However, this version dates from october 2010, not that old! > So I have to upgrade? > > BR > > > On 3 mei, 04:04, Jeff Schnitzer <j...@infohazard.org> wrote: >> Are you running with a very old GAE SDK... something before 1.4.0, >> perhaps? Make sure you are using the latest. >> >> Jeff >> >> >> >> >> >> >> >> On Mon, May 2, 2011 at 3:16 PM, GeneralSlaine <lennart.ben...@gmail.com> >> wrote: >> > 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.getAsyncDatastor >> > eService(Lcom/ >> > google/appengine/api/datastore/DatastoreServiceConfig;)Lcom/google/ >> > appengine/api/datastore/AsyncDatastoreService; from class >> > com.googlecode.objectify.ObjectifyFactory >> > at >> > com.googlecode.objectify.ObjectifyFactory.getRawAsyncDatastoreService(Objec >> > tifyFactory.java: >> > 159) >> > at >> > com.googlecode.objectify.ObjectifyFactory.getAsyncDatastoreService(Objectif >> > yFactory.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/th... >> >> > 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 >> > google-appengine-java@googlegroups.com. >> > To unsubscribe from this group, send email to >> > google-appengine-java+unsubscr...@googlegroups.com. >> > For more options, visit this group >> > athttp://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 google-appengine-java@googlegroups.com. > To unsubscribe from this group, send email to > google-appengine-java+unsubscr...@googlegroups.com. > 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 google-appengine-java@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.