def getMyPayloadType(contentType: Value): ContentType.NonBinary = contentType match {
case XML => ContentType(`application/xml`, `UTF-8`)
case JSON => ContentType(`application/json`)
}
}
Above code gives the following compilation error.
"Symbol ‘type Scala.collection.IndexedSeqOptimized’ is missing from the classpath.
This symbol is required by ‘class akka.util.ByteString’
Yes. I do have some dependencies referring to Scala 2.11. These dependencies don’t have scala compatible version 2.13. So, it didn’t migrate. The following are the two dependencies