I created my first application GoogleApps and I want to deploy it on server. It doesn’t work and in logs I found an error:
Uncaught exception from servlet
com.google.appengine.api.datastore.DatastoreNeedIndexException: The
index for this query is not ready to serve. See the Datastore Indexes
page in the Admin Console. The suggested index for this query is:
<datastore-index kind="Greeting" ancestor="true" source="manual">
<property name="date" direction="desc"/>
</datastore-index>
I suppose that I have to paste this code into my application but I have no idea where. I was following this tutorial:
Any ideas?
Thanks in advance 🙂
Assuming you’re using the Java app engine, that code needs to go in your
datastore-indexes.xmlfile located in yourWEB-INFdirectory. The full xml file would look like: