PS.
I investigated the souce
org.eclipse.jetty.util.
StringUtil.<clinit>(StringUtil.java:57)
and is actually
@Deprecated
public final static Charset __UTF8_CHARSET=StandardCharsets.UTF_8;
so, I delete these deprecated lines from the sourcecode, and now try
to rebuild jar package(will research how to from now),
then will see the result...
On Thu, Jan 16, 2014 at 10:28 AM, Ken OKABE <[email protected]> wrote:
> PS.
> running on Genymotion Emulator Android 4.3,
> here is the similar, but different logcat.
>
> I noticed that
> java.lang.NoClassDefFoundError
> actually occurs on
> org.eclipse.jetty.util.StringUtil.<clinit>(StringUtil.java:57)
>
>
>
> 01-16 01:22:28.004 1255-1255/? W/dalvikvm﹕ Exception
> Ljava/lang/NoClassDefFoundError; thrown while initializing
> Lorg/eclipse/jetty/util/StringUtil;
> 01-16 01:22:28.004 1255-1255/? W/System.err﹕
> java.lang.NoClassDefFoundError: java.nio.charset.StandardCharsets
> 01-16 01:22:28.004 1255-1255/? W/System.err﹕ at
> org.eclipse.jetty.util.StringUtil.<clinit>(StringUtil.java:57)
> 01-16 01:22:28.004 1255-1255/? W/System.err﹕ at
> org.eclipse.jetty.websocket.client.WebSocketClient.connect(WebSocketClient.java:146)
> 01-16 01:22:28.004 1255-1255/? W/System.err﹕ at
> org.eclipse.jetty.websocket.client.WebSocketClient.connect(WebSocketClient.java:130)
> 01-16 01:22:28.004 1255-1255/? W/System.err﹕ at
> com.example.app.MainActivity.onCreate(MainActivity.java:40)
> 01-16 01:22:28.004 1255-1255/? W/System.err﹕ at
> android.app.Activity.performCreate(Activity.java:5133)
> 01-16 01:22:28.004 1255-1255/? W/System.err﹕ at
> android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1087)
> 01-16 01:22:28.004 1255-1255/? W/System.err﹕ at
> android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2175)
> 01-16 01:22:28.004 1255-1255/? W/System.err﹕ at
> android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2261)
> 01-16 01:22:28.004 1255-1255/? W/System.err﹕ at
> android.app.ActivityThread.access$600(ActivityThread.java:141)
> 01-16 01:22:28.004 1255-1255/? W/System.err﹕ at
> android.app.ActivityThread$H.handleMessage(ActivityThread.java:1256)
> 01-16 01:22:28.004 1255-1255/? W/System.err﹕ at
> android.os.Handler.dispatchMessage(Handler.java:99)
> 01-16 01:22:28.004 1255-1255/? W/System.err﹕ at
> android.os.Looper.loop(Looper.java:137)
> 01-16 01:22:28.004 1255-1255/? W/System.err﹕ at
> android.app.ActivityThread.main(ActivityThread.java:5103)
> 01-16 01:22:28.004 1255-1255/? W/System.err﹕ at
> java.lang.reflect.Method.invokeNative(Native Method)
> 01-16 01:22:28.004 1255-1255/? W/System.err﹕ at
> java.lang.reflect.Method.invoke(Method.java:525)
> 01-16 01:22:28.004 1255-1255/? W/System.err﹕ at
> com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:737)
> 01-16 01:22:28.004 1255-1255/? W/System.err﹕ at
> com.android.internal.os.ZygoteInit.main(ZygoteInit.java:553)
> 01-16 01:22:28.004 1255-1255/? W/System.err﹕ at
> dalvik.system.NativeStart.main(Native Method)
> 01-16 01:22:28.004 1255-1255/?
> D/org.eclipse.jetty.util.component.AbstractLifeCycle﹕ stopping
> org.eclipse.jetty.websocket.client.WebSocketClient@529a7a00
> 01-16 01:22:28.004 1255-1255/?
> D/org.eclipse.jetty.websocket.client.WebSocketClient﹕ Stopping
> org.eclipse.jetty.websocket.client.WebSocketClient@529a7a00
> 01-16 01:22:28.004 1255-1255/?
> D/org.eclipse.jetty.util.component.AbstractLifeCycle﹕ stopping
> org.eclipse.jetty.util.thread.ScheduledExecutorScheduler@52791994
> 01-16 01:22:28.004 1255-1255/?
> D/org.eclipse.jetty.util.component.AbstractLifeCycle﹕ STOPPED
> org.eclipse.jetty.util.thread.ScheduledExecutorScheduler@52791994
> 01-16 01:22:28.004 1255-1255/?
> I/org.eclipse.jetty.websocket.client.WebSocketClient﹕ Stopped
> org.eclipse.jetty.websocket.client.WebSocketClient@529a7a00
> 01-16 01:22:28.004 1255-1255/?
> D/org.eclipse.jetty.util.component.AbstractLifeCycle﹕ STOPPED
> org.eclipse.jetty.websocket.client.WebSocketClient@529a7a00
_______________________________________________
jetty-users mailing list
[email protected]
https://dev.eclipse.org/mailman/listinfo/jetty-users