score:0

Accepted answer

This solved the problem: declaring the HashMap as [String,Object] explicitly:

val params = new HashMap[String,Object](Map("1"->"one", "2"->"two"))

Related Query

More Query from same tag