mjul / docjure

Read and write Office documents from Clojure
MIT License
620 stars 129 forks source link

Error upgrading to 0.13 using java 1.8 #82

Open jaromil opened 5 years ago

jaromil commented 5 years ago

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).

manuelherzog commented 5 years ago

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.

jaromil commented 5 years ago

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?

manuelherzog commented 5 years ago

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.