Skip to content
Advertisement

Symbol ‘type scala.package.Serializable’ is missing from the classpath

my classpath is missing serializable and cloneable classes.. i am not sure how to fix this.

i have a sbt application which looks like this

JavaScript

when i do a sbt build i am getting..

JavaScript
JavaScript

my dependency tree only shows jars, but this seems to be a class/package conflict or missing..

Advertisement

Answer

You’re using an incompatible Scala version (2.13.6). From the Spark documentation:

JavaScript

If you use a Scala version from the 2.12.x family you should be fine.

User contributions licensed under: CC BY-SA
8 People found this is helpful
Advertisement