【发布时间】:2012-11-22 19:39:49
【问题描述】:
我无法运行the following Android sample。 http://wiki.restlet.org/docs_2.0/13-restlet/21-restlet/318-restlet/303-restlet.html
我在 64 位 Ubuntu 12.10 上使用 Eclipse Juno 4.2 并尝试在 api Level 15 上部署(Android 4.03 模拟器和真实设备)
我刚刚在我的工作区中导入了示例项目(来自现有源的 Android 项目)并将 org.restlet.jar(来自 restlet-android-2.0.15)添加到我的类路径中,如上所述。
在以下行我得到一个异常:
ClientResource cr = new ClientResource(
"http://restlet-example-serialization.appspot.com/contacts/123");
例外:
java.lang.reflect.InvocationTargetExceptionjava.lang.NoClassDefFoundError: org.restlet.resource.ClientResource
有人可以指导我如何解决这个问题吗?
【问题讨论】:
标签: java android eclipse google-app-engine