Excel 导入出现 Unable to construct record instance, the following exception occured

java导入中的方法如下:

 HSSFWorkbook wookbook = new HSSFWorkbook(file.getInputStream());

 当导入如下模板时,服务器报错:

原因也是经常会发生的,客户为了方便固定了表头,造成这个excel方法无法读取了

这个也么有办法,筛选、冻结、排序这些都会造成excel导入失效

猜你喜欢

转载自blog.csdn.net/qq_35275233/article/details/86552138