InseeFrLab / Trevas-Jupyter

Jupyter notebook providing VTL support through Trevas engine
MIT License
2 stars 2 forks source link

Jupyter Trevas 0.5.0: StorageUtils$ cannot access class sun.nio.ch.DirectBuffer #106

Closed jornfranke closed 5 months ago

jornfranke commented 5 months ago

We faced on Jupyter Trevas 0.5.0 on JDK17 the following error message:

StorageUtils$ cannot access class sun.nio.ch.DirectBuffer

We solved it by adding:

export JAVA_OPTS="--add-opens=java.base/sun.nio.ch=ALL-UNNAMED"

Maybe you could add it directly into the bin/trevas script?

NicoLaval commented 5 months ago

Do you have a way to define it directly into maven pom.xml?