Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-25-2026 04:05 AM
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)