遇到以下错误的解决办法: 在cell加个setCellType()方法就可以了 cell.setCellType(CellType.STRING); 转载于:https://www.cnblogs.com/changpuyi/p/10165715.html