I’m experimenting with a project structure where a Ktor app uses two multi-platform modules (JVM . When I include only one module, it works fine, but when I include the second one, I get ClasssNotFoundException errors. I created a reproducible example at https://github.com/egoossens/testmulti
What am I missing? Thanks!
The project builds fine, the errors are at runtime
The magic happened again (struggle for two days, ask the question, find the answer an hour later)
The .jar files produced take the name of the directories at the end of the path, so they have to be different in every module, otherwise the first generated one wil be replaced by the second. Instead of