java操作Excel时报如下错误:

The supplied data appears to be in the Office 2007+ XML. You are calling the part of POI that deals with OLE2 Office Documents. You need to call a different part of POI to process this data (eg XSSF instead of HSSF)

与Excel的版本有关,2003版Excel的实现是OLE,2007版及之后的Excel实质是XML。POI XSSF与HSSF区别可参考下面的连接。

https://blog.csdn.net/u012580998/article/details/70859730

相关文章:

  • 2021-09-13
  • 2022-12-23
  • 2022-02-09
  • 2021-06-21
  • 2021-11-17
  • 2022-12-23
  • 2022-02-27
  • 2021-12-05
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-12-20
  • 2022-12-23
  • 2021-07-18
相关资源
相似解决方案