导入excel 读取单元格报错

来源:互联网 发布:mud游戏编程 编辑:程序博客网 时间:2024/06/05 16:34

java.lang.NumberFormatException: You cannot get a date value from a String based cell



java.lang.NumberFormatException: You cannot get a string value from a numeric cell

无法从数值单元格获取字符串值。



导入excel ,读取单元格的值的时候,这个时候,把excel 的单元格格式改了,就好了。