解决办法:在读取数据进行判断时,若为数字类型:
if(cell.getCellType() == Cell.CELL_TYPE_NUMERIC){ //数字 if(String.valueOf(cell.getNumericCellValue()).indexOf("E")==-1){ return String.valueOf(cell.getNumericCellValue()); }else { return new DecimalFormat("#").format(cell.getNumericCellValue()); } }