Because the format of question Can not get a text value from a numeric cell exception error occurred while reading Excel using the POI.
Abnormal: Excel Cell data of different types, when we try to read a number from a string type of Cell and written to the database, Can not get a text value from a numeric cell exception error occurs.
This exception code similar to the following in common: row.getCell (0) .getStringCellValue ();
Solution: row.getCell (0) .toString ()
Do not use row.getCell (0) .setCellType (Cell.CELL_TYPE_STRING) , there will be row.getCell (0) .setCellType (Cell.CELL_TYPE_STRING) ; expiration problem