You can try specifying the 'excelType' yourself

来自ling
跳转至: 导航搜索
 byte[] bytes = FileUtil.copyToByteArray(file.getInputStream());
InputStream inputStream1 = new ByteArrayInputStream(bytes);
InputStream inputStream2 = new ByteArrayInputStream(bytes);
ExcelReaderBuilder builder1 = EasyExcel.read(inputStream1);
List<LinkedHashMap> deptList = builder1.sheet(0).doReadSync();