cancel
Showing results for 
Search instead for 
Did you mean: 
Data Engineering
Join discussions on data engineering best practices, architectures, and optimization strategies within the Databricks Community. Exchange insights and solutions with fellow data engineers.
cancel
Showing results for 
Search instead for 
Did you mean: 

NoClassDefFoundError: org/apache/spark/sql/SparkSession$

bhanuteja_1
New Contributor II

NoClassDefFoundError: org/apache/spark/sql/SparkSession$
    at com.microsoft.nebula.common.ConfigProvider.<init>(configProvider.scala:17)
    at $linef37a348949c145718a08f6b29642317b35.$read$$iw$$iw$$iw$$iw$$iw$$iw$$iw$$iw$$iw$$iw$$iw$$iw$$iw$$iw$$iw$$iw$$iw$$iw$$iw$$iw$$iw$$iw$$iw$$iw$$iw$$iw$$iw$$iw$$iw.<init>(command-1793822326551085:4)
   va:750)

It was 100 lines of error . I just posted glimpse of it . Please suggest me a solution for this error .

1 REPLY 1

VZLA
Databricks Employee
Databricks Employee

Hi @bhanuteja_1 ,

Where are you running this from? Based on the short output, it looks like from a Databricks Notebook, but it would be a weird error unless you're having some classpath overrides or jar conflicts, leading to this error; it is simply saying the SparkSession class cannot be found in the classpath during runtime, although it is by default available in fresh clusters.

Join Us as a Local Community Builder!

Passionate about hosting events and connecting people? Help us grow a vibrant local community—sign up today to get started!

Sign Up Now