Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Unable to generate cloud endpoint class

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.

https://cloud.google.com/developers/articles/how-to-build-mobile-app-with-app-engine-backend-tutorial#ecdp

like image 646
lonelearner Avatar asked Dec 05 '13 17:12

lonelearner


Video Answer


1 Answers

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.

like image 113
Tielman Nieuwoudt Avatar answered Sep 28 '22 06:09

Tielman Nieuwoudt