pureconfig
pureconfig copied to clipboard
java.lang.NoClassDefFoundError: Could not initialize class io.circe.Decoder$ after Shading
Hi all, I tried to shade shapeless when I did a spark-submit using sbt-assembly. In my Assembly scala file, I added assembly / assemblyShadeRules := Seq(ShadeRule.rename("shapeless.**" -> "new_shapeless.@1").inAll)
. But when I submit it to Spark 3.1.2, I got this error above. I am wondering am I adding the Shading correctly?
@clintoncheang Did you ever get around this?