tomcat 是 apache-tomcat-8.0.20
jdk 是java version "1.8.0_31"
启动 MI以后不停的报 如下异常,请问什么原因,如何解决
[01 15:07:35,073 ERROR] [pool-2-thread-36] server.ServerCoreHandler - [IMCORE]exceptionCaught鎹曡幏鍒伴敊浜嗭紝鍘熷洜鏄細java.lang.IllegalStateException: Expected BEGIN_OBJECT but was STRING at line 1 column 1 path $
com.google.gson.JsonSyntaxException: java.lang.IllegalStateException: Expected BEGIN_OBJECT but was STRING at line 1 column 1 path $
at com.google.gson.internal.bind.ReflectiveTypeAdapterFactory$Adapter.read(ReflectiveTypeAdapterFactory.java:224)
at com.google.gson.Gson.fromJson(Gson.java:887)
at com.google.gson.Gson.fromJson(Gson.java:852)
at com.google.gson.Gson.fromJson(Gson.java:801)
at com.google.gson.Gson.fromJson(Gson.java:773)
at net.openmob.mobileimsdk.server.protocal.ProtocalFactory.parse(ProtocalFactory.java:63)
at net.openmob.mobileimsdk.server.ServerCoreHandler.fromIOBuffer(ServerCoreHandler.java:776)
at net.openmob.mobileimsdk.server.ServerCoreHandler.messageReceived(ServerCoreHandler.java:103)
at org.apache.mina.core.filterchain.DefaultIoFilterChain$TailFilter.messageReceived(DefaultIoFilterChain.java:690)
at org.apache.mina.core.filterchain.DefaultIoFilterChain.callNextMessageReceived(DefaultIoFilterChain.java:417)
at org.apache.mina.core.filterchain.DefaultIoFilterChain.access$1200(DefaultIoFilterChain.java:47)
at org.apache.mina.core.filterchain.DefaultIoFilterChain$EntryImpl$1.messageReceived(DefaultIoFilterChain.java:765)
at org.apache.mina.core.filterchain.IoFilterEvent.fire(IoFilterEvent.java:74)
at org.apache.mina.core.session.IoEvent.run(IoEvent.java:63)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)
Caused by: java.lang.IllegalStateException: Expected BEGIN_OBJECT but was STRING at line 1 column 1 path $
at com.google.gson.stream.JsonReader.beginObject(JsonReader.java:385)
at com.google.gson.internal.bind.ReflectiveTypeAdapterFactory$Adapter.read(ReflectiveTypeAdapterFactory.java:213)
... 16 more
[01 15:07:35,074 DEBUG] [pool-2-thread-36] filterchain.IoFilterEvent - Event EXCEPTION_CAUGHT has been fired for session 834
[01 15:07:35,074 DEBUG] [pool-2-thread-33] filterchain.IoFilterEvent - Firing a SESSION_CLOSED event for session 834
[01 15:07:35,074 INFO ] [pool-2-thread-33] server.ServerCoreHandler - [IMCORE]涓巤uid:null,cid:-1}/100.109.221.128:30339鐨勪細璇濆叧闂?user_id=-1,loginName=null)浜?..
[01 15:07:35,074 WARN ] [pool-2-thread-33] server.ServerCoreHandler - [IMCORE]銆愭敞鎰忋