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

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.

Connect with Databricks Users in Your Area

Join a Regional User Group to connect with local Databricks users. Events will be happening in your city, and you won’t want to miss the chance to attend and share knowledge.

If there isn’t a group near you, start one and help create a community that brings people together.

Request a New Group