org.apache.poi.ss.usermodel.Cell.getCellType()Lorg/apache/poi/ss/usermodel/CellType
时间: 2024-01-17 09:02:47 浏览: 1930
org.apache.poi.ss.usermodel.Cell.getCellType()方法是Apache POI中的一个方法,用于获取单元格的类型。根据引用和引用的报错信息来看,可能是因为Apache POI版本不兼容导致的问题。根据引用中的描述,从poi3.17版本开始,getCellType()方法返回的类型是int而不是org.apache.poi.ss.usermodel.CellType。所以,可能需要将Apache POI的版本升级到3.17或更高版本,以解决这个问题。<span class="em">1</span><span class="em">2</span><span class="em">3</span>
#### 引用[.reference_title]
- *1* [java.lang.NoSuchMethodError报错](https://blog.csdn.net/weixin_48009833/article/details/118492441)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v92^chatsearchT0_1"}}] [.reference_item style="max-width: 50%"]
- *2* *3* [Java org.apache.poi.ss.usermodel.Cell.getCellType()Lorg/apache/poi/ss/usermodel/CellType问题解决](https://blog.csdn.net/qq_38974638/article/details/119874962)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v92^chatsearchT0_1"}}] [.reference_item style="max-width: 50%"]
[ .reference_list ]
阅读全文