物化与端点为AndroidAndroid

由网友(她与星辰皆不可得.)分享简介:我读的是客体与端点使用一个支持框架。如何转换样品从GPE App Engine的连接的Andr​​oid Project向导处理物化4个数据?I read that Objectify is a supported framework for use with Endpoints.How do I convert...

我读的是客体与端点使用一个支持框架。 如何转换样品从GPE App Engine的连接的Andr​​oid Project向导处理物化4个数据?

I read that Objectify is a supported framework for use with Endpoints. How do I convert the sample from the GPE App Engine Connected Android Project wizard to deal with Objectify 4 data?

我得到这个:

org.datanucleus.exceptions.ClassNotPersistableException: 类com.example.MyObjectifyTestInfo是不是可持久化。 这意味着,它要么处理不当得到增强,或者该文件的增强版本不是在CLASSPATH(或隐藏由未增强版本),或者未发现该元数据/注释的类

org.datanucleus.exceptions.ClassNotPersistableException: The class "com.example.MyObjectifyTestInfo" is not persistable. This means that it either hasnt been enhanced, or that the enhanced version of the file is not in the CLASSPATH (or is hidden by an unenhanced version), or the Meta-Data/annotations for the class are not found.

我寻觅了很多,但没有发现任何在计算器或其他地方。 谢谢你。

I have searched a lot, but found nothing in stackoverflow or elsewhere. Thanks.

推荐答案

的DataNucleus(如org.datanucleus ...)是JDO / JPA库,使消息表明你还有JDO / JPA artificacts在您的项目。该消息是正确的 - 现在你正在使用的客体类是不是可持久使用的DataNucleus,那么什么是仍然在试图

datanucleus (as in org.datanucleus...) is the JDO/JPA library, so that message indicates that you still have JDO/JPA artificacts in your project. The message is correct - now that you are using objectify your class is not persistable using datanucleus, so what is still trying?

我会建议您检查您的项目设置和类文件的导入语句,以确保您已删除了所有JDO / JPA。

I would suggest that you review your project settings and your class file's import statements to make sure you've removed all JDO/JPA.

阅读全文

相关推荐

最新文章