Dubbo: telnet invoke

Created on 18 Dec 2019  ·  8Comments  ·  Source: apache/dubbo

telnet invoke报这个错
invalid json argument cause com/alibaba/fastjson/json

Most helpful comment

2.7.7 同样出现这个问题

All 8 comments

telnet invoke报这个错
invalid json argument cause com/alibaba/fastjson/json

把invoke参数贴出来,应该是格式有问题

就算是调用不用传入参数的方法也是报这个错,参数确定是没问题

就算是调用不用传入参数的方法也是报这个错,参数确定是没问题

建议把接口方法定义跟具体的 telnet 命令发出来

已经解决,dubbo2.6.3版本会出现这个问题,替换版本就行

2.7.5 又出现这个问题了

要命哦,快解决啊

dubbo>ls
PROVIDER:
org.apache.dubbo.samples.api.GreetingService:1.0.0

dubbo>invoke org.apache.dubbo.samples.api.GreetingService:1.0.0.sayHello( { "name": "zookeeper"} )
Invalid json argument, cause: com/alibaba/fastjson/JSON

2.7.7 同样出现这个问题

Was this page helpful?
0 / 5 - 0 ratings