Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via GitHub by ligadata-ahmad
, 1 year ago
scala.collection.immutable.$colon$colon cannot be cast to scala.collection.immutable.Map
java.lang.ClassCastException: scala.collection.immutable.$colon$colon cannot be cast to scala.collection.immutable.Map	at com.ligadata.MetadataAPI.ConfigUtils$$anonfun$UploadModelsConfig$1.apply(ConfigUtils.scala:630)	at com.ligadata.MetadataAPI.ConfigUtils$$anonfun$UploadModelsConfig$1.apply(ConfigUtils.scala:628)	at scala.collection.Iterator$class.foreach(Iterator.scala:742)	at scala.collection.AbstractIterator.foreach(Iterator.scala:1194)	at scala.collection.MapLike$DefaultKeySet.foreach(MapLike.scala:174)	at com.ligadata.MetadataAPI.ConfigUtils$.UploadModelsConfig(ConfigUtils.scala:628)	at com.ligadata.MetadataAPI.MetadataAPIImpl$.UploadModelsConfig(MetadataAPIImpl.scala:3973)	at com.ligadata.MetadataAPI.Utility.ConfigService$.removeEngineConfig(ConfigService.scala:173)	at com.ligadata.MetadataAPI.StartMetadataAPI$.route(StartMetadataAPI.scala:665)	at com.ligadata.MetadataAPI.StartMetadataAPI$.main(StartMetadataAPI.scala:354)	at com.ligadata.MetadataAPI.StartMetadataAPI.main(StartMetadataAPI.scala)