Manas Marthi
02/22/2024, 10:55 PMClassNotFoundException: org.jetbrains.kotlin.name.ClassId I was making basic changes to a login form and the POST handler is failing when I try to call call.respondRedirecT("/")Manas Marthi
02/23/2024, 7:45 AMAleksei Tirman [JB]
02/23/2024, 8:33 AMAny type doesn't have a serializer defined at the compile-time. You can read about the contextual serialization in the documentation of the kotlinx.serialization framework.
Have you resolved the problem with the ClassNotFoundException ?Manas Marthi
02/24/2024, 9:09 PM@Contexualize annotation. I tried to use KTORM orm instead of Exposed ORM. That also seems to have caused error. I had to convert KTORM instances into a @Serializable data class object. Serialization fails when any object is of type Any . So trying to store a Map<String,Any> bombs out.Manas Marthi
02/24/2024, 9:10 PMAny properties and made the above mentioned changesManas Marthi
02/24/2024, 9:17 PM@Serialziable @Contextual annotations. KTOR Sessions and KTORM entity objects don't work with each other as of now. Probably I will find a way forward when I am more familiar with Kotlin type systemManas Marthi
02/24/2024, 9:18 PM