org.springframework.remoting.RemoteAccessException: Could not access remote service [rmi:rmi接口地址]; nested exception is java.rmi.UnmarshalException: error unmarshalling return; nested exception is:
java.io.WriteAbortedException: writing aborted; java.io.NotSerializableException:类的包名.类名
1. 出现这个错误的原因是没有在类中添加serialVersionUID
2. 添加了serialVersionUID后仍然出现这个错误是因为类没有实现Serializable接口
另外网上搜索的关于这个问题的解决办法
http://liyongyao.blog.51cto.com/2895045/843771
http://caizhongda.iteye.com/blog/481510