Now it works from Gradle, but running the same thi...
# ktor
v
Now it works from Gradle, but running the same thing from IntelliJ gives
Copy code
/Library/Java/JavaVirtualMachines/jdk-11.0.1.jdk/Contents/Home/bin/java ...
Error occurred during initialization of boot layer
java.lang.module.ResolutionException: Modules ktor.server.core and ktor.utils.jvm export package io.ktor.util to module io.netty.codec.http2
e
Could you try to build it using gradle 4.7?
v
I can build and run fine with Gradle. It's only running from within the IDE that's a problem.
e
@snrostov
v
@snrostov?
s
Sorry for long delay. Can you please create youtrack issue for that?
v
It look similar to https://youtrack.jetbrains.com/issue/IDEA-177041, which is closed as a duplicate of https://youtrack.jetbrains.com/issue/IDEA-165523, which is closed as fixed.
Open a new bug or re-open 177041?
s
I think it would be better to create separate issue in Kotlin project specifically for building ktor under JDK 10 and IDEA internal build system https://youtrack.jetbrains.com/issues/KT
🙏 1
✔️ 1
v
Any idea of a workaround of ETA for a fix? My project has stopped running altogether on Java8 so can't debug 😞
e
Could you run it with delegating test to gradle in IDEA?
v
Is there some way of starting the project with an external gradle task, then attaching the IntelliJ debugger?