I uploaded a jar library on my cluster in Databricks following this tutorial, however I have been unable to import the library or use the methods of the library from the Databricks notebook. I have been unable to find forums or documentation that address this topic, so I'm unsure if it's even possible at this point.
I am able to run the jar file as a job in Databricks, I just haven't been able to import the jar library into the Notebook to run it from there.
I also tried running the jar file using the %sh magic command but received the following JNI error
:
Error: A JNI error has occurred, please check your installation and try again
Exception in thread "main" java.lang.NoClassDefFoundError: scala/Function0