简体   繁体   中英

POI 5.0.0, xmlbeans-5.0.1, xlsx-streamer-2.2.0 java.lang.NoSuchMethodError org.apache.poi.xssf.model.SharedStringsTable.getEntryAt(I)

I upgraded POI from 4.1.1 to 5.0.0, xmlbeans from 3.0.2 to 5.0.1, xlsx-streamer-2.2.0, After upgrading poi getting below error.

java.lang.NoSuchMethodError: org.apache.poi.xssf.model.SharedStringsTable.getEntryAt(I)Lorg/openxmlformats/schemas/spreadsheetml/x2006/main/CTRst;

The issue is coming over iterating com.monitorjbl.xlsx.impl.StreamingSheet

Even I tried downgrading xmlbeans to 3.0.1 and 3.0.2 but no luck.

monitorjbl xlsx-streamer 2.2.0 doesn't support apache poi 5.0.0.need to be replaced with https://github.com/pjfanning/excel-streaming-reader dependency.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM