easyexcel和poi是否有版本冲突_记使用EasyPoi导出Excel遇到的问题

在使用EasyPoi导出Excel时遇到异常错误'firstMovedIndex, lastMovedIndex out of order',该错误源于Apache POI库中的公式调整问题。通过查看官方文档,发现模板中使用了'$fe'进行遍历插入,但当需要插入的数据下方存在其他数据时,导致行移位操作越界。将'$fe'改为'fe',成功解决了问题。此问题提示我们在使用模板导出时,需要注意遍历符号可能导致的边界条件冲突。" 100075799,8389510,规划算法学习:从入门到精通,"['数学建模', '优化算法', '编程工具', '模型构建']
摘要由CSDN通过智能技术生成

报错:

[2019-01-0414:31:07]172.20.2.150

content:[14:31:07.977][52][956DE36473C8E283]ERRORc.a.e.e.e.t.ExcelExportOfTemplateUtil.createExcleByTemplate - firstMovedIndex,lastMovedIndex out of order

[2019-01-0414:31:07]172.20.2.150

content:

java.lang.IllegalArgumentException: firstMovedIndex, lastMovedIndex out of order

[2019-01-04 14:31:07]172.20.2.150

content: atorg.apache.poi.ss.formula.FormulaShifter.(FormulaShifter.java:81)

[2019-01-0414:31:07]172.20.2.150

content: atorg.apache.poi.ss.formula.FormulaShifter.createForRowShift(FormulaShifter.java:126)

[2019-01-0414:31:07]172.20.2.150

content: atorg.apache.poi.xssf.usermodel.XSSFSheet.shiftRows(XSSFSheet.java:3059)

[2019-01-0414:31:07]172.20.2.150

content: atcn.afterturn.easypoi.excel.export.template.ExcelExportOfTemplateUtil.addListDataToExcel(ExcelExportOfTemplateUtil.java:476)

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值