测试新人001 2022-04-12 21:43 采纳率: 66.7%
浏览 1184
已结题

为什么POI 读写excel 这个getCellTypeEnum()会报错不能用啊

img

Multiple markers at this line
- CellType cannot be resolved to a type
- The method getCellTypeEnum() is undefined for the
type Cell

难道import导入有问题?

img

  • 写回答

3条回答 默认 最新

  • xxw_242422 2022-04-14 16:29
    关注

    这个方法在Cell类中没有,要么是import的类不对,要么是poi的jar包版本不对

    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论
查看更多回答(2条)

报告相同问题?

问题事件

  • 系统已结题 5月3日
  • 已采纳回答 4月25日
  • 创建了问题 4月12日