Issue with Could not initialize class $linec4a1686037264c21b0e58b369fab8f2d59.$read$
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-01-2023 08:29 AM
Our job is written in Scala on DataBricks. It used to have the same problem, but was managed to work with putting all case classes in a separate cell. However, lately it started to fail again due to the same error:
Could not initialize class $linec4a1686037264c21b0e58b369fab8f2d59.$read$
Caused by: NoClassDefFoundError: Could not initialize class $linec4a1686037264c21b0e58b369fab8f2d59.$read$
May I ask if you could help suggest a solution to this?
Thank you!