首页 > 代码库 > httpinvoker异常

httpinvoker异常

org.springframework.remoting.RemoteAccessException: Could not deserialize result from HTTP invoker remote service [http://localhost:9080/]; nested exception is java.io.InvalidClassException: com.reward.domain.user; com.reward.domain.user; class invalid for deserialization远程调用序列化出错。原因:服务端实体类继承了Serializable接口,客户端没有。

httpinvoker异常