javaeclipsegoogle-app-enginegoogle-cloud-endpointsgoogle-eclipse-plugin

GAE SDK 1.9.4 breaks GPE 3.5.1


When i tried to generate the client library using eclipse interface i got this erro:

enter image description here

eclipse.buildId=M20120914-1800 java.version=1.7.0_25 java.vendor=Oracle Corporation BootLoader constants: OS=macosx, ARCH=x86_64, WS=cocoa, NL=pt_BR Framework arguments: -product org.eclipse.epp.package.dsl.product -keyring /Users/renanfranca/.eclipse_keyring -showlocation Command-line arguments: -os macosx -ws cocoa -arch x86_64 -product org.eclipse.epp.package.dsl.product -keyring /Users/renanfranca/.eclipse_keyring -showlocation Error Thu May 01 19:39:22 BRT 2014 Unexpected Exception java.lang.reflect.InvocationTargetException at com.google.gdt.eclipse.appengine.swarm.wizards.GenerateSwarmApiAction$1.run(GenerateSwarmApiAction.java:82) at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:121) Caused by: java.lang.ClassNotFoundException: com.google.api.server.spi.tools.ClientLibGenerator$Language at java.net.URLClassLoader$1.run(URLClassLoader.java:366) at java.net.URLClassLoader$1.run(URLClassLoader.java:355) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:354) at java.lang.ClassLoader.loadClass(ClassLoader.java:424) at java.lang.ClassLoader.loadClass(ClassLoader.java:357) at com.google.gdt.eclipse.appengine.swarm.wizards.helpers.SwarmApiCreator.createClientLibFromApiConfig(SwarmApiCreator.java:113) at com.google.gdt.eclipse.appengine.swarm.wizards.helpers.SwarmApiCreator.createSwarmApi(SwarmApiCreator.java:258) at com.google.gdt.eclipse.appengine.swarm.wizards.helpers.SwarmServiceCreator.create(SwarmServiceCreator.java:444) at com.google.gdt.eclipse.appengine.swarm.wizards.GenerateSwarmApiAction$1.run(GenerateSwarmApiAction.java:80) ... 1 more

I tried the command line at the root of the project:

$SDK/endpoints.sh get-client-lib my.package.MyEndpointsApi

And its only generated the endpoints client libs, but not the folder:

myendpointsapi-v1-generated-source

When i got back to appengine 1.9.3 it's work like a charm again..

Anyone know how to solve this?


Solution

  • I received this email today..

    Updates: Status: Fixed Labels: Release-3.6.0

    Comment #7 on issue 278 by rdayal@google.com: GPE 3.5.1 incompatible with GAE SDK 1.9.4 - Endpoint generation fails http://code.google.com/p/google-plugin-for-eclipse/issues/detail?id=278

    I hope a GPE update will come son (I CAN'T WAIT)

    I gave up from Eclipse I'm using AndroidStudio now and it's generate the libraries automatically: http://rominirani.com/2014/08/27/gradle-tutorial-part-10-consuming-endpoints-in-android-code/

    Start AndroidStudio from this awesome post Series: http://rominirani.com/2014/07/28/gradle-tutorial-series-an-overview/