spring2.5.6 + hessian 4.0.1

spring2.5.6 + hessian 4.0.1,采用remoting-servlet.xml的方式进行配置,客户端调用时出现如下错误,换成hessian 3.1.5就正常了。

Java代码 复制代码  收藏代码
  1. Exception in thread "main" com.caucho.hessian.client.HessianRuntimeException: com.caucho.hessian.io.HessianProtocolException: '?' is an unknown code   
  2.     at com.caucho.hessian.client.HessianProxy.invoke(HessianProxy.java:268)   
  3.     at $Proxy0.queryBusicardsTest(Unknown Source)   
  4.     at client.UserSimpleTest.main(UserSimpleTest.java:21)   
  5. Caused by: com.caucho.hessian.io.HessianProtocolException: '?' is an unknown code   
  6.     at com.caucho.hessian.client.HessianProxy.invoke(HessianProxy.java:266)   
  7.     ... 2 more  

猜你喜欢

转载自wanxiaotao12-126-com.iteye.com/blog/1913046