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接口,客户端没有。
时间: 2024-10-08 01:59:12