objectify 的数据存储问题 - 本地运行

objectify 的数据存储问题 - 本地运行

Google 应用引擎版本 1.9.76

在本地运行时,显示错误,请提供任何想法

错误:

c.l.m.c.ExceptionHandlerController       : Error ==Missing or insufficient permissions.
[INFO] com.google.cloud.datastore.DatastoreException: Missing or insufficient permissions.
[INFO]  at com.google.cloud.datastore.spi.v1.HttpDatastoreRpc.translate(HttpDatastoreRpc.java:128)
[INFO]  at com.google.cloud.datastore.spi.v1.HttpDatastoreRpc.translate(HttpDatastoreRpc.java:113)
[INFO]  at com.google.cloud.datastore.spi.v1.HttpDatastoreRpc.runQuery(HttpDatastoreRpc.java:181)
[INFO]  at com.google.cloud.datastore.DatastoreImpl$1.call(DatastoreImpl.java:180)
[INFO]  at com.google.cloud.datastore.DatastoreImpl$1.call(DatastoreImpl.java:177)

我的实体是

@Entity(name = "CITY")
@Cache
@XmlRootElement(name = "city")
public class City implements Serializable {
   private static final long serialVersionUID = 1L;
   @Id
   @Index
   private Long id;

Already posted in 

https://groups.google.com/forum/#!topic/objectify-appengine/xM9rJKMv-Ns

相关内容