【发布时间】:2011-09-04 08:38:17
【问题描述】:
- 我做了一个 Android 项目并运行它。它运行成功。
- 我用 Java 开发了一个 Web 服务并托管它。运行成功。
- 我将 Web 服务导出到 .jar 中并将其添加到我的 Android 项目中。
- 当我尝试调用 Web 服务中的方法时,我收到
Unable to resolve superclass错误。
我的错误日志:
Unable to resolve superclass of Lweb/service/RandomWordGeneratorService; (73)
Link of class 'Lweb/service/RandomWordGeneratorService;' failed
Could not find class 'web.service.RandomWordGeneratorService',
referenced from method tam.miru.Login$1.onClick
VFY: unable to resolve new-instance 110 Lweb/service/RandomWordGeneratorService;)
in Ltam/miru/Login$1;
VFY: replacing opcode 0x22 at 0x005a
VFY: dead code 0x005c-006e in Ltam/miru/Login$1;.onClick (Landroid/view/View;)
【问题讨论】:
标签: android classnotfoundexception android-library