Issue with Maven Dependency Resolution in Databricks (json-smart)

VictorFerron
Databricks Partner

Hi,
I'm experiencing issues installing a library in my Databricks cluster due to a Maven dependency resolution error. Specifically, when trying to install or use libraries that depend on net.minidev:json-smart, I get the following error:

 

 
Library installation attempted on the driver node and failed. Error code: ERROR_MAVEN_LIBRARY_RESOLUTION, error message: Library resolution failed because unresolved dependency: net.minidev:json-smart:[1.3.1,2.3]: not found. 
 
After researching, it seems that there is an issue with the Maven metadata for json-smart, causing some versions to be unresolved. I've tried:
 
  • Manually specifying json-smart:2.4.8 in the cluster library settings.
  • Adding alternative repositories (https://repo1.maven.org/maven2/, https://jitpack.io).
  • Cleaning the cluster library cache and restarting.
  • Excluding json-smart from Azure SDK dependencies to force a specific version.

None of these have resolved the issue. Has anyone encountered this problem in Databricks? Any suggestions on how to force a specific version or work around the Maven metadata issue?

Thanks in advance!