SpringCluod
若依
Failed to invoke the method getUserByTypework in the service ...
not support none serializable class org.dromara.system.api.domain.bo.RemoteUserAppBo...
这个问题问题我一直以为是我的dubbo注册的时候没有把我新加的方法弄进去
百度了一下,很多都说需要配置有问题
但是我用的是若依Spring Cluod 已经整合了dubbo
只需要配置注解就完事了呀!
然后我往下翻,发现还有一个报错!
not support none serializable class org.dromara.system.api.domain.bo.RemoteUserAppBo...
对象序列化异常!
在若依里面序列化对象只需要再对象里继承
implements Serializable
很快啊,找到我传过去的参数,果然没有写!
最后:
实体 继承 implements Serializable 后就可以用了!