使用transactioncompany.jsonrpc2获取json-rpc并获得以下异常?

时间:2015-02-11 11:09:08

标签: java json response json-rpc

com.thetransactioncompany.jsonrpc2.client.JSONRPC2SessionException:无效的JSON-RPC 2.0响应     在com.thetransactioncompany.jsonrpc2.client.JSONRPC2Session.send(JSONRPC2Session.java:586)     在JSON_RPC.Example_2.main(Example_2.java:82) 引起:com.thetransactioncompany.jsonrpc2.JSONRPC2ParseException:无效的JSON     at com.thetransactioncompany.jsonrpc2.JSONRPC2Parser.parseJSONObject(Unknown Source)     at com.thetransactioncompany.jsonrpc2.JSONRPC2Parser.parseJSONRPC2Response(Unknown Source)     at com.thetransactioncompany.jsonrpc2.JSONRPC2Response.parse(Unknown Source)     在com.thetransactioncompany.jsonrpc2.client.JSONRPC2Session.send(JSONRPC2Session.java:579)     ......还有1个


我的请求对象是: {" ID":" 102""方法":" listPath"" PARAMS" {&#34 ;令牌":" 8b66666-4f66c-42cf-be45-70f666666c1""路径":" /"}" jsonrpc&#34 ;:" 2.0"} 我得到了: 无效的JSON-RPC 2.0响应

0 个答案:

没有答案