pureconfig icon indicating copy to clipboard operation
pureconfig copied to clipboard

java.lang.NoClassDefFoundError: Could not initialize class io.circe.Decoder$ after Shading

Open clintoncheang opened this issue 2 years ago • 3 comments

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 avatar Apr 21 '22 16:04 clintoncheang

@clintoncheang Did you ever get around this?

jakehschwartz avatar Jan 04 '23 01:01 jakehschwartz