poi-object-mapper icon indicating copy to clipboard operation
poi-object-mapper copied to clipboard

Found interface org.apache.poi.util.POILogger, but class was expected exception occurs

Open Sand038 opened this issue 6 years ago • 1 comments

I get this exception when I try to read using following

reader.read(Employee.class, xlsxFile);

I'm using Apache POI version 4.1.1 and seems like it's an interface in that version instead of a class. If I use 4.0.1 this exception won't come. How to fix this with the latest Apache POI version?

Sand038 avatar Dec 12 '19 08:12 Sand038

@Sand038 May I know which version of the poi-object-mapper are you using?

Also, go through #14 issue for a little more information on the Apache POI version support.

Update: I just updated the develop branch to use Apache-POI version 4.1.1. All the read/write test cases are passing. You can either build it from develop branch or a pre-release with poi version 4.1.1 will be made upon request.

millij avatar Dec 12 '19 08:12 millij