peekandpoke
05/17/2021, 6:33 AMNoClassDefFoundException
after the Hot-reload occurred.
The compilation takes about 5 secs. I now suspect that some of the class files might be read too early. Ktor is doing the reload of the classes on the next request. When this next request happens while not all class files are re-written, then the Class Loader might read inconsistent class files.
Does this make sense? Is there anything else I could look for? Does someone else have the same issue?
It is currently really annoying, since hot-reload basically does not work for us anymore. We need to restart the server after each change, which takes precious time and patience.
Thank you in advance!Aleksei Tirman [JB]
05/17/2021, 11:57 AMpeekandpoke
05/17/2021, 12:25 PM