Arjan van Wieringen
12/17/2023, 9:52 AMsealed
hierarchy. I can easily serialize and deserialize these. However, I removed one of these data classes of the hierarchy because it wasn'tused anywhere. Everything builds correctly, but I have a simple serialize and deserialize test. And that one fails with:
java.lang.ClassNotFoundException: com.dsmp.app.serialization.graphics.ResponsiveGraphicDTO$CircleDTO
at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:641)
at java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:188)
THis makes sense, because the CircleDTO is used nowhere anymore. It does not make sense at all that it throws an exception. I removed the caches already, cleaned my builds and cleaned the Gradle user dir cache, but all to no avail. Kotlin 1.9.21 and serialization 1.6.2Arjan van Wieringen
12/17/2023, 10:20 AM