但是运行之后报错,没有返回内容。。报错如下:
Exception in thread "main" com.caucho.hessian.client.HessianRuntimeException: com.caucho.hessian.io.HessianProtocolException: '6' is an unknown class definition
at com.caucho.hessian.client.HessianProxy.invoke(HessianProxy.java:222)
at com.sun.proxy.$Proxy0.Hello(Unknown Source)
at hessian.test.client.HessianClient.main(HessianClient.java:17)
Caused by: com.caucho.hessian.io.HessianProtocolException: '6' is an unknown class definition
at com.caucho.hessian.io.Hessian2Input.readObject(Hessian2Input.java:1727)
at com.caucho.hessian.client.HessianProxy.invoke(HessianProxy.java:207)
... 2 more