Tyrus Websockets Android:解析 Lorg/glassfish/tyrus/core/OsgiRe



我使用tyrus-standalone-client.jar版本-1.10为我的Android应用程序使用Web套接字。

我的堆栈跟踪如下:

04-16 21:31:42.917 D/ACRA    (24960): ACRA is enabled for     com.tely.device.application.gcalsync, intializing...
04-16 21:31:42.917 I/dalvikvm(24181): Failed resolving Lorg/glassfish/tyrus/core/OsgiRegistry; interface 4566 'Lorg/osgi/framework/SynchronousBundleListener;'
04-16 21:31:42.917 W/dalvikvm(24181): Link of class' Lorg/glassfish/tyrus/core/OsgiRegistry;' failed
04-16 21:31:42.917 I/dalvikvm(24181): Could not find method org.glassfish.tyrus.core.OsgiRegistry.getInstance, referenced from method org.glassfish.tyrus.core.ReflectionHelper.getOsgiRegistryInstance
04-16 21:31:42.917 W/dalvikvm(24181): VFY: unable to resolve static method 35259: Lorg/glassfish/tyrus/core/OsgiRegistry;.getInstance ()Lorg/glassfish/tyrus/core/OsgiRegistry;
04-16 21:31:42.917 D/dalvikvm(24181): VFY: replacing opcode 0x71 at 0x0008
04-16 21:31:42.917 I/dalvikvm(24181): Failed resolving Lorg/glassfish/tyrus/core/OsgiRegistry; interface 4566 'Lorg/osgi/framework/SynchronousBundleListener;'

经过一些研究,一些消息来源说罐子的版本可能不稳定。所以,我尝试了 1.9 和 1.8.3。问题未解决。请提出任何稳定版本或关于其他可能出错的任何想法。

根据 Pavel Bucek 的说法,您可以忽略此异常。请参阅 https://blogs.oracle.com/PavelBucek/entry/websocket_client_on_android_tyrus 或 https://java.net/jira/browse/TYRUS-392

相关内容

  • 没有找到相关文章

最新更新