java.lang.IllegalStateException: Cannot get a STRING value from a NUMERIC cell
NUMERIC不能转换为STRING
解决办法:
//获取单元格
XSSFCell cell = row.getCell(0);
//设置单元格类型,设置为STRING类型
cell.setCellType(CellType.STRING);
//获取单元格数据
String cellValue = cell.getStringCellValue();