emanuele_m
Databricks Employee
Databricks Employee

Hi,

this problem occurs if you have dynamic module registration, e.g.

new ObjectMapper().findAndRegisterModules()

and the way to solve it is to use something like this instead

val jsonMapper = new ObjectMapper()
jsonMapper.registerModule(DefaultScalaModule)