loading the right dependencies for sbt console in multi project setup causing derby security exception
问题 I have a SBT multi project setup outlined https://github.com/geoHeil/sf-sbt-multiproject-dependency-problem and want to be able to execute sbt console in the root project. When executing: import org.apache.spark.sql.SparkSession val spark = SparkSession.builder().master("local[*]").enableHiveSupport.getOrCreate spark.sql("CREATE database foo") in the root console the error is: java.lang.NoClassDefFoundError: Could not initialize class org.apache.derby.jdbc.EmbeddedDriver Strangely, it works