在做poi的excel导出时遇到这个问题:
报错:
Failed to invoke the method findContractProductVoByShipTime in the service cn.itcast.service.cargo.ContractService. Tried 3 times of the providers [10.253.13.220:20882] (1/1) from the registry 127.0.0.1:2181 on the consumer 10.253.13.220 using the dubbo version 2.6.6. Last error is: Failed to invoke remote method: findContractProductVoByShipTime, provider: dubbo://10.253.13.220:20882/cn.itcast.service.cargo.ContractService?
我的是由于实体类未实现序列化接口导致的问题,数据可以查出来,但是报错,可以用ctrl+f在报错信息李搜索一下有没有Serializable这个错误,如果有的话就是实体类未实现序列化接口
参考自:https://blog.csdn.net/rosanu_blog/article/details/70336508