Sergio Casero
10/16/2018, 4:26 PMNo configuration setting found for key 'ktor'
The application.conf is in resources directory, and "run" task configuration is based on it, so... I don't understand anything.
I've also tried to create a new project like https://ktor.io/quickstart/faq.html#cannot-find-application-conf is suggesting, but I'm getting the same issue
Also, If I try to run with "play button on main class" on IntelliJ, IntelliJ says "cannot find main class"Deactivated User
10/16/2018, 4:28 PMSergio Casero
10/16/2018, 4:28 PMDeactivated User
10/16/2018, 4:28 PMSergio Casero
10/16/2018, 4:29 PMSergio Casero
10/16/2018, 4:29 PMSergio Casero
10/16/2018, 4:30 PMDeactivated User
10/16/2018, 4:30 PMSergio Casero
10/16/2018, 4:30 PMSergio Casero
10/16/2018, 4:31 PMDeactivated User
10/16/2018, 4:31 PM:run
gradle task instead.
You can also redirect run and test tasks to use gradleDeactivated User
10/16/2018, 4:32 PMDeactivated User
10/16/2018, 4:32 PMSergio Casero
10/16/2018, 4:33 PMgradlew run
autoreload doesn't workSergio Casero
10/16/2018, 4:34 PMDeactivated User
10/16/2018, 4:35 PMDeactivated User
10/16/2018, 4:35 PMSergio Casero
10/16/2018, 4:36 PMcoder82
10/23/2018, 7:16 AMcoder82
10/23/2018, 7:17 AMcoder82
10/23/2018, 7:18 AMcoder82
10/23/2018, 7:18 AMcoder82
10/23/2018, 7:18 AMcoder82
10/23/2018, 7:18 AMcoder82
10/23/2018, 7:18 AMcoder82
10/23/2018, 7:19 AMcoder82
10/23/2018, 7:20 AMcoder82
10/23/2018, 3:31 PMDeactivated User
10/23/2018, 3:33 PMDeactivated User
10/23/2018, 3:33 PMcoder82
10/23/2018, 3:40 PMcoder82
10/23/2018, 3:40 PMcoder82
10/23/2018, 3:40 PMDeactivated User
10/23/2018, 3:41 PMDeactivated User
10/23/2018, 3:41 PMDeactivated User
10/23/2018, 3:47 PMDeactivated User
10/23/2018, 3:47 PM./gradlew build -t
, in other ./gradlew run
and then changing Hello World
to something else, changes it.Deactivated User
10/23/2018, 3:48 PMcoder82
10/23/2018, 3:51 PMcoder82
10/23/2018, 3:52 PMDeactivated User
10/23/2018, 3:54 PMGradle 4.10.2
and java version "1.8.0_162"
here.
Not sure. I’d suggest you to try the same as me (the exercise4
with your gradle and java versions) and if it works then mutate versions until it doesn’t work for you and then report. Can’t think of anything else to figure out what’s going oncoder82
10/23/2018, 4:05 PM