easyPOI导出excel报错

Posted huanghuanghui

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了easyPOI导出excel报错相关的知识,希望对你有一定的参考价值。

http-nio-8099-exec-10  2018.07.26 at 18:38:40.976 CST ERROR cn.afterturn.easypoi.excel.export.base.BaseExportService createCells():144 - excel cell export error ,data is :[email protected][Id=<null>,serialNumber=<null>,sendResult=<null>,sendResultName=<null>,orderNumber=<null>,serviceType=TC,serviceTypeName=<null>,operationContent=1,faultPlateNumber=<null>,rescueAddress=<null>,time=<null>,carNo=<null>,staffName=<null>,rescueOrderEntity=<null>,startTime=<null>,endTime=<null>,dispatchTaskNumber=00100004,automaticnumberId=<null>,sendResultId=<null>,address=<null>,orderId=<null>,desAddress=<null>,createdBy=<null>,createdDate=<null>,updatedBy=<null>,updatedDate=<null>,isDeleted=<null>,staffId=<null>,carId=<null>,pageIndex=1,pageSize=5]
http-nio-8099-exec-10  2018.07.26 at 18:38:40.977 CST ERROR cn.afterturn.easypoi.excel.export.ExcelExportService insertDataToSheet():208 - Excel导出错误
cn.afterturn.easypoi.exception.excel.ExcelExportException: Excel导出错误

技术分享图片

 

 经检查发现是resultType与parmaterType写错,还会报

RedisTemplate SerializationFailedException: Failed to deserialize payload 的异常,SerialVersionUID与流中的SerialVersionUID不一致导致序列化错误

下次要注意

 

以上是关于easyPOI导出excel报错的主要内容,如果未能解决你的问题,请参考以下文章

spring easypoi 报错,踩坑记录

easyexcel中poi

spring boot + easypoi两行代码excel导入导出

【springboot+easypoi】一行代码搞定excel导入导出

springboot整合 easypoi 实现excel数据导出

easypoi一行代码搞定excel导入导出