Issue Description
I was facing the following error when using Java version java 22.0.1 2024-04-16:
java.lang.NoClassDefFoundError: Could not initialize class sbt.internal.parser.SbtParser$
Resolution
To resolve the build issue, I changed the sbt version to the latest version in the unitycatalog/project/build.properties file:
sbt.version=1.10.0
Updating the sbt version to 1.10.0 resolved the build issue.