//Cannot get a STRING value from a NUMERIC cell 问题所在,因为表格是数值但是读取的方式是字符串 //解决方案 DataFormatter formatter = new DataFormatter(); String value = formatter.formatCellValue(row.getCell(0));

//Cannot get a STRING value from a NUMERIC cell 问题所在,因为表格是数值但是读取的方式是字符串 //解决方案 DataFormatter formatter = new DataFormatter(); String value = formatter.formatCellValue(row.getCell(0));