iDesktop 9D 新建mysql数据源,新建数据集,向iserver发布服务,iserver出现错误
日志输出:
Caused by: com.supermap.services.rest.HttpException: 不能序列化为com.supermap.services.rest.management.PublishServiceParameter类。
at com.supermap.services.rest.resources.impl.ManagementRestUtil.a(SourceFile:411)
at com.supermap.services.rest.resources.impl.ManagementRestUtil.getRequestEntityObject(SourceFile:399)
... 65 more
Caused by: org.json.JSONException: Unterminated string at 32 [character 0 line 3]
at org.json.JSONTokener.syntaxError(JSONTokener.java:505)
at org.json.JSONTokener.nextString(JSONTokener.java:320)
at org.json.JSONTokener.nextValue(JSONTokener.java:428)
at org.json.JSONObject.<init>(JSONObject.java:244)
at org.json.JSONObject.<init>(JSONObject.java:357)
at com.supermap.services.rest.util.JavaBeanJsonUtils.commonObjectDecoder(SourceFile:392)
at com.supermap.services.rest.util.JavaBeanJsonUtils.commonObjectDecoder(SourceFile:356)
at com.supermap.services.rest.util.JavaBeanJsonUtils.toObject(SourceFile:673)
at com.supermap.services.rest.util.JavaBeanJsonUtils.toObject(SourceFile:161)
at com.supermap.services.rest.util.JsonConverter.a(SourceFile:594)
at com.supermap.services.rest.util.JsonConverter.toObject(SourceFile:530)
at com.supermap.services.rest.util.JsonConverter.toObject(SourceFile:250)
at com.supermap.services.rest.decoders.JsonDecoder.toObject(SourceFile:75)
at com.supermap.services.rest.resources.impl.ManagementRestUtil.a(SourceFile:408)
... 66 more
2021-8-24 17:07:05 - WARN - 不能序列化为com.supermap.services.rest.management.PublishServiceParameter类。
org.json.JSONException: Unterminated string at 32 [character 0 line 3]
at org.json.JSONTokener.syntaxError(JSONTokener.java:505)
at org.json.JSONTokener.nextString(JSONTokener.java:320)
at org.json.JSONTokener.nextValue(JSONTokener.java:428)
at org.json.JSONObject.<init>(JSONObject.java:244)
at org.json.JSONObject.<init>(JSONObject.java:357)