java.lang.NoSuchMethodError: org.apache.spark.SparkContext.assertNotStopped()V

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

    • java.lang.NoSuchMethodError: org.apache.spark.SparkContext.assertNotStopped()V at org.apache.spark.sql.SparkSession.<init>(SparkSession.scala:80) at org.apache.spark.sql.SparkSession.<init>(SparkSession.scala:77) at org.apache.spark.sql.SparkSession$Builder.getOrCreate(SparkSession.scala:837) at com.tproj.testing.sparkTest.App.main(App.java:25) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.apache.spark.deploy.SparkSubmit$.org$apache$spark$deploy$SparkSubmit$$runMain(SparkSubmit.scala:731) at org.apache.spark.deploy.SparkSubmit$.doRunMain$1(SparkSubmit.scala:181) at org.apache.spark.deploy.SparkSubmit$.submit(SparkSubmit.scala:206) at org.apache.spark.deploy.SparkSubmit$.main(SparkSubmit.scala:121) at org.apache.spark.deploy.SparkSubmit.main(SparkSubmit.scala)

    Users with the same issue

    Unknown visitor1 times, last one,