错误提示:Wrong Local header signature: 0xE011CFD0

  • Post author:
  • Post category:其他

导入Excel时出现错误,错误提示:Wrong Local header signature: 0xE011CFD0,这个是excel的扩展名问题,.xlsx  应该XSSFWorkbook workbook = new XSSFWorkbook(file);而xls应该用 HSSFWorkbook workbook = new HSSFWorkbook(file);

转载于:https://www.cnblogs.com/jerrys/p/5089377.html