![8873fac0419fc7f52e43c59bec06f73c.png](https://img-blog.csdnimg.cn/img_convert/8873fac0419fc7f52e43c59bec06f73c.png)
1、 cell.setCellType(XSSFCell.CELL_TYPE_STRING); 过期替换解决方案
![5d4708533b84ebb528ef9de79f8a8ab3.png](https://img-blog.csdnimg.cn/img_convert/5d4708533b84ebb528ef9de79f8a8ab3.png)
2、使用下面替换
cell.setCellType(CellType.STRING);
![46660fe3a61d487145c463a5e7f7e7b2.png](https://img-blog.csdnimg.cn/img_convert/46660fe3a61d487145c463a5e7f7e7b2.png)
// 读取每一格内容
for (int index = 0; index < row.getPhysicalNumberOfCells(); index++) {
XSSFCell titleCell = titleRow.getCell(index)