zenmeso / objectify-appengine

Automatically exported from code.google.com/p/objectify-appengine
MIT License
0 stars 0 forks source link

NoSuchMethodError for QueryImpl.count() #59

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. int queryCount = ofy.query(MyClass.class).count();
2.
3.

What is the expected output? What do you see instead?
expected to get integer number of objects retrieved by the query
instead got Error 500:
Problem accessing /Home. Reason:

 com.google.appengine.api.datastore.PreparedQuery.countEntities(Lcom/google/appengine/api/datastore/FetchOptions;)I
Caused by:

java.lang.NoSuchMethodError: 
com.google.appengine.api.datastore.PreparedQuery.countEntities(Lcom/google/appen
gine/api/datastore/FetchOptions;)I
    at com.googlecode.objectify.impl.QueryImpl.count(QueryImpl.java:399)
    at org.practicezone.Home.homePage(Home.java:228)
...

What version of the product are you using? On what operating system?
objectify-2.2.2.jar
Eclipse Helios Build id: 20100617-1415
Mac OS X 10.6.4

Please provide any additional information below.
Thanks for objectify. I'm just beginning, but I can see how it's making my life 
easier on GAE.
Chuck Wight <chuck.wight@gmail.com>

Original issue reported on code.google.com by chuck.wi...@gmail.com on 5 Nov 2010 at 5:12

GoogleCodeExporter commented 9 years ago
As stated in the release notes, Objectify 2.2.2 requires GAE SDK v1.3.8.

Original comment by lhori...@gmail.com on 5 Nov 2010 at 5:33