本人是poi写文件的时候出的这个错误,然后错误信息都在源码中。

这个就需要自己跟源码去看了。
Cannot get a text value from a numeric cell “Poi”
图片中可以看到,期望 1 实际为 0 说明字符串判断有问题。
Cannot get a text value from a numeric cell “Poi”
然后 XSSFCELL 这个类中的 351行 位置可以看到当时的值,这个值是个 60.12 所以需要你设置的时候 setType = 0 ;

相关文章:

  • 2021-09-19
  • 2022-12-23
  • 2022-02-09
  • 2021-09-29
  • 2022-01-06
  • 2021-12-17
  • 2021-10-26
猜你喜欢
  • 2021-12-23
  • 2021-09-08
  • 2022-12-23
  • 2021-12-31
  • 2021-07-07
  • 2021-12-16
  • 2021-07-21
相关资源
相似解决方案