qq_18976079
qq_18976079
2015-05-01 21:22

试图用java从excel文件中读取数据时出现的问题

  • java
  • excel文件

org.apache.poi.POIXMLException: org.apache.poi.openxml4j.exceptions.InvalidFormatException: OPC Compliance error [M4.1]: there is more than one core properties relationship in the package !
at org.apache.poi.util.PackageHelper.open(PackageHelper.java:41)
at org.apache.poi.xssf.usermodel.XSSFWorkbook.(XSSFWorkbook.java:190)
at Importexcel1.read(Importexcel1.java:165)
at Importexcel1.read(Importexcel1.java:134)
at Importexcel1.main(Importexcel1.java:253)
Caused by: org.apache.poi.openxml4j.exceptions.InvalidFormatException: OPC Compliance error [M4.1]: there is more than one core properties relationship in the package !
at org.apache.poi.openxml4j.opc.OPCPackage.getParts(OPCPackage.java:611)
at org.apache.poi.openxml4j.opc.OPCPackage.open(OPCPackage.java:226)
at org.apache.poi.util.PackageHelper.open(PackageHelper.java:39)
... 4 more

求问,这一段是什么意思呢?

  • 点赞
  • 回答
  • 收藏
  • 复制链接分享

3条回答