GAE下传索引文件datastore-indexes.xml报错的解决

GAE上传索引文件datastore-indexes.xml报错的解决
按照教程建立索引文件datastore-indexes.xml,并将自动生成索引文件datastore-indexes-auto.xml中的内容剪切过来,结果上传APP时报错
An internal error occurred during: "Deploying alexconvert to Google".
Received SAXException parsing the input stream for /.../war/WEB-INF/datastore-indexes.xml

研究分析后发现是由于datastore-indexes-auto.xml为空而导致出错。将此文件删除(或为其加入代码 <datastore-indexes />)后上传成功。