用dubbo时遇到的一个序列化的坑 xxxServiceImpl must implement java.io.Serializable

究其原因 请求的实体简写了一下
Meproduct meProduct = new Meproduct(){{
   setId('111')
}};
改成这种写法就好了
Meproduct meProduct = new Meproduct();
meProduct.setId('1');

 

posted @ 2020-05-20 18:40  turbozhang  阅读(1917)  评论(0编辑  收藏  举报