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:

在这里输入图像描述

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.doPrivil eged(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?


In line with Romin, I also think that the AppEngine SDK 1.9.4 breaks GPE 3.5.1. I had the same problem when I updated to SDK 1.9.4 a few days ago. I rolled back to 1.9.3, and the endpoints are generated successfully. I reported GPE issue no. 278.


For those who need manual installation instructions of GAE SDK 1.9.3 on Eclipse

I had the same issue and found this download link to the GAE SDK 1.9.3 https://storage.googleapis.com/appengine-sdks/featured/appengine-java-sdk-1.9.3.zip

How to manually install GAE SDK 1.9.3 in eclipse? Since I am very new to Android, I took some time to learn to manually install an eclipse plugin. Please read Konstantin's answer how-to-install-plugin-for-eclipse-from-zip


I used this link to obtain the 1.9.3 sdk:

http://mvnrepository.com/artifact/com.google.appengine/appengine-java-sdk/1.9.3

other then that, yeah, just add via the Configure SDK properties

链接地址: http://www.djcxy.com/p/63584.html

上一篇: 谷歌云存储

下一篇: GAE SDK 1.9.4打破GPE 3.5.1