在谷歌应用引擎sdk - 1.9.6中生成客户端库时出错

时间:2014-06-05 11:03:23

标签: android google-app-engine gae-eclipse-plugin maven-gae-plugin

我已将我的eclipse应用引擎插件版本更新为1.9.6,并为我创建了问题。每当我尝试Generate Cloud endpoint client library时,它的抛出异常和库就不会生成。我搜索了这个问题但没有成功。如果anypne已经解决了这个问题,那么请帮我解决这个问题。 谢谢。

错误堆栈:

    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(Unknown Source)
    at java.net.URLClassLoader$1.run(Unknown Source)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(Unknown Source)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    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
Root exception:
java.lang.ClassNotFoundException: com.google.api.server.spi.tools.ClientLibGenerator$Language
    at java.net.URLClassLoader$1.run(Unknown Source)
    at java.net.URLClassLoader$1.run(Unknown Source)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(Unknown Source)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    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)
    at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:121)

1 个答案:

答案 0 :(得分:1)

我和其他人有同样的问题。似乎GPE 3.5.1与AppEngine SDK> 1.9.3不兼容,所以我已经回到了1.9.3,我现在可以再次生成端点。

请转到https://code.google.com/p/googleappengine/issues/detail?id=10871和"明星"这个问题让Google修复了它。

与此同时,我建议您使用以下说明返回AppEngine 1.9.3:GAE SDK 1.9.4 breaks GPE 3.5.1