[alibaba/easyexcel]加密文件上传出错

2024-05-23 814 views
1

异常代码


com.alibaba.excel.exception.ExcelCommonException: Convert excel format exception.You can try specifying the 'excelType' yourself
    at com.alibaba.excel.support.ExcelTypeEnum.valueOf(ExcelTypeEnum.java:71)
    at com.alibaba.excel.read.metadata.holder.ReadWorkbookHolder.<init>(ReadWorkbookHolder.java:160)
    at com.alibaba.excel.context.AnalysisContextImpl.<init>(AnalysisContextImpl.java:45)
    at com.alibaba.excel.analysis.ExcelAnalyserImpl.<init>(ExcelAnalyserImpl.java:44)
    at com.alibaba.excel.ExcelReader.<init>(ExcelReader.java:143)
    at com.alibaba.excel.read.builder.ExcelReaderBuilder.build(ExcelReaderBuilder.java:270)

回答

8

Easyexcel 可以处理这种问题吗?

2

需要传入参数password,并升级到最新版本。

6

需要传入参数password,并升级到最新版本。

你好,请问是在哪个方法里传password