Error: Could not find or load main class io.ktor.server.netty.DevelopmentEngine
d
Deactivated User
07/17/2018, 9:37 PM
I would follow either use the project generator or download the ktor plugin for IntelliJ to generate a valid project and start from there:
- https://ktor.io/quickstart/generator.html
- https://ktor.io/quickstart/quickstart/intellij-idea/plugin.html
Maybe your issue is related to a missing netty dependency, or a wrong main. But try to create a project with any of the tools try the generated project, and if it works, compare the code with your other project to see the differences
v
Vinicius Carvalho
07/17/2018, 9:51 PM
Thanks I'll try the generator, sounds like the best approach 🙂
It did not work either, I had the plugin to generate the project. Once again the fat jar works fine but creating the run configuration I get the same error as class not found