NoSuchMethodError: 'short org.apache.poi.ss.usermodel.Font.getIndex()'

I added this to gradle
implementation group: ‘org.apache.poi’, name: ‘poi’, version: ‘5.2.3’
implementation group: ‘org.apache.poi’, name: ‘poi-ooxml’, version: ‘5.2.3’
I need to manually read some excel files.
i get this error when exporting excel from a table. is there a way to resolve this?

NoSuchMethodError: ‘short org.apache.poi.ss.usermodel.Font.getIndex()’

You don’t need to add a dependency to use POIs.
Another version of POI is already used in Jmix.
jmix/bom.gradle at master · jmix-framework/jmix-bom

1 Like

nu da…
I need poi 5 not 4

Hey, have you fixed it yet?