Help get this topic noticed by sharing it on Twitter, Facebook, or email.

code from Advanced Analytics with Spark

the code from chapter 8 pag 165

"val features = geojson.parseJson.convertTo[FeatureCollection]"

gives me the following error

error: ambiguous implicit values:
both object RichGeometryJsonFormat in object GeoJsonProtocol of type com.cloudera.datascience.geotime.GeoJsonProtocol.RichGeometryJsonFormat.type
and object FeatureJsonFormat in object GeoJsonProtocol of type com.cloudera.datascience.geotime.GeoJsonProtocol.FeatureJsonFormat.type
match expected type spray.json.JsonReader[]
val features = geojson.parseJson.convertTo[FeatureCollection]

could someone help with this issue???
2 people have
this problem