Azure Databricks, could not initialize class org.apache.spark.eventhubs.EventHubsConf Azure Databricks, could not initialize class org.apache.spark.eventhubs.EventHubsConf azure azure

Azure Databricks, could not initialize class org.apache.spark.eventhubs.EventHubsConf


It seems that your Runtime includes Scala 2.12 but your package is from scala 2.11

Try installing this one

com.microsoft.azure:azure-eventhubs-spark_2.12:2.3.17