I have a legacy script on scala
it fails on runtime with error on decoding Array[Byte]
org.codehaus.commons.compiler.CompileException: File 'generated.java', Line 7991, Column 59: No applicable constructor/method found for actual parameters "PATH TO PROTO ENUM$, int"; candidates are: "public static scalapb.descriptors.PValue scalapb.spark.JavaHelpers.penumFromString(scalapb.GeneratedEnumCompanion, org.apache.spark.unsafe.types.UTF8String)"
for build use scala-sbt:eclipse-temurin-jammy-17.0.10_7_1.10.0_3.4.2