2
在读取csv文件的时候会抛出: com.alibaba.excel.exception.ExcelCommonException: Unknown excel type.
at com.alibaba.excel.support.ExcelTypeEnum.valueOf(ExcelTypeEnum.java:49)
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)
at com.example.demo.DemoApplicationTests.contextLoads(DemoApplicationTests.java:24)