无法生成云端点类 [英] Unable to generate cloud endpoint class
问题描述
亲爱的同行程序员,
我对编程非常陌生,并且正在关注使用app引擎后端教程的教程。但是我一直面临着一些问题。
我有Setup App Engine后台应用程序项目,创建了一个CheckIn实体类。
之后,我按照说明创建一个名为CheckInEndPoint.java的新类。
我将代码从代码片段复制到Class中。
当我尝试生成云端点类时,我遇到了一条错误消息。
错误生成API
这不是JDO / JPA实体类。
请咨询您如何解决问题的建议。
Google提供的说明令人困惑。这些说明的意图是在创建CheckIn.java之后,右键单击CheckIn.java文件并选择Google-> Generate Cloud Endpoint Class。然后这将自动创建CheckInEndpoint.java文件。
请参阅您提供的链接中的整个实体设计类模式段落。你会认识到他们的指示是模棱两可的,实际上是要从第6点开始。
Dear fellow programmers,
I am very new to programming and i am following the tutorial on using app engine backend tutorial. However i face some problem along the way.
I have Setup App Engine Backend Application Project, created a CheckIn entity class. After which, i follow the instruction to create a new class with the name CheckInEndPoint.java I copy the code from the snippet over to the Class.
When i try to Generate Cloud Endpoint Class, i faced an error message. Error Generating API This is not a JDO/JPA entity class.
Kindly seek your advice on how to troubleshoot it.
The instructions as provided by Google are confusing. What the instructions intended to say is after creating CheckIn.java, right-click on the CheckIn.java file and select Google->Generate Cloud Endpoint Class. This will then automatically create the CheckInEndpoint.java file.
Read through the entire "Entity Design Class Pattern" paragraph as given in the link you provided. You'll recognise that their instructions are ambiguous and is actually meant to be carried out from point 6.
这篇关于无法生成云端点类的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!