Yup, it happens with me too. The reason this happens is because some how (not sure if its Eclipse or the GAE Plugin) the classes in endpoint-libs/libdeviceinfoendpoint-v1/deviceinfoendpoint/deviceinfoendpoint-v1-generated-source
are moved from the expected structure :
./deviceinfoendpoint-v1-generated-source
|- com
|-myapp
|- deviceinfoendpoint
|- Deviceinfoendpoint.java
to invalid structure :
./deviceinfoendpoint-v1-generated-source
|- com
|-google
|- api
|- services
|- com.myapp.deviceinfoendpoint
|- Deviceinfoendpoint.java
In theory this should not happen. But, well it does! :-)
Try redoing the client library generation fresh, or try fixing them up manually.
[Update: Regenerating the Client Library again wont help. Either try the Command Line Mode.
Or a little hard way do it manually by
- moving all the contents of
com.google.api.services/com.myapp/
package tocom.myapp/
. - Search replace all occurances of "com.google.api.services." in all your generated java source files.
I tried this and it worked. ]
P.S: you may want to know that Google Endpoints is currently experiencing some outage. You may have to wait a while before you can test it. Keep an eye on this issue : https://code.google.com/p/googleappengine/issues/detail?id=9214
Update: It may help to refer to this Issue reported to Google : https://code.google.com/p/google-plugin-for-eclipse/issues/detail?id=117