docjure icon indicating copy to clipboard operation
docjure copied to clipboard

Error upgrading to 0.13 using java 1.8

Open jaromil opened this issue 7 years ago • 4 comments

Not sure if occurring also with Java 1.9, in case documentation should state necessity to upgrade. The error is:

java.lang.RuntimeException: Unable to find static field: CELL_TYPE_BOOLEAN in interface org.apache.poi.ss.usermodel.Cell

Pardon the approximation, I haven't investigated this further (happy 0.12 user).

jaromil avatar Mar 17 '19 13:03 jaromil

for me it is working with java 1.8. I had that error during migration of docjure using apache-poi >= 4.0. Could it be you are also using apache-poi as your dependency and this one got an update too?

Otherwise can you provide more informations, so we can check for that issue? Best would be if these information provide a small example project showing that problem.

manuelherzog avatar Mar 20 '19 14:03 manuelherzog

OK, will try to document more if necessary. Meanwhile yes I confirm the error occurred migrating also to apache-poi>=4.0 - isn't that supposed to happen? I realise now perhaps version 4 is not supported yet?

jaromil avatar Mar 22 '19 07:03 jaromil

apache-poi>= 4.0 is planned but not yet finished. #81 So with one of the next releases we will have apache-poi >= 4.0, but for now we are stuck to < 4.0. I'm also waiting for it, so i can switch back to the official release instead of mine, because i need 4.0 features in other parts of my app.

manuelherzog avatar Mar 25 '19 09:03 manuelherzog