title: How to run ktor application?
body: <p>I've created a Ktor application with Gradle and I followed the tutorial on <a href="https://ktor.io/quickstart/quickstart/gradle.html#initial" rel="nofollow noreferrer">https://ktor.io/quickstart/quickstart/gradle.html#initial</a>.<br>
  At the end it says: </p>
  
  <blockquote>
    <p>And then go to Run -> Edit Configurations select the blog.BlogAppKt
    configuration and change its Main class to:
    io.ktor.server.netty.EngineMain</p>
    
    <p>Now when we run the new configuration, the application will start
    again.</p>
  </blockquote>
  
  <p>I am searching for the option but could not find it: </p>
  
  <p><a href="https://i.stack.imgur.com/PAsEQ.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/PAsEQ.png" alt="enter image description here"></a></p>
  
  <p>The gradle file looks as follows:</p>
  
  <pre><code>plugins {
      application
      kotlin("jvm") version "1.3.61"
  }
  
  group = "org.example"
  version = "1.0-SNAPSHOT"
  
  
  val ktor_version = "1.3.0"
  
  repositories {
      mavenCentral()
      jcenter()
  }
  
  dependencies {
      implementation(kotlin("stdlib-jdk8"))
      compile("io.ktor:ktor-server-netty:$ktor_version")
      compile("io.ktor:ktor-server-core:$ktor_version")
      compile("ch.qos.logback:logback-classic:1.2.3")
      testCompile(group = "junit", name = "junit", version = "4.12")
  }
  
  tasks {
      compileKotlin {
          kotlinOptions.jvmTarget = "1.8"
      }
      compileTestKotlin {
          kotlinOptions.jvmTarget = "1.8"
      }
  }
  
  application {
      mainClassName = "io.ktor.server.netty.EngineMain"
  }
  </code></pre>
  
  <p><strong>Update</strong></p>
  
  <p>I'v tried following configuration: </p>
  
  <p><a href="https://i.stack.imgur.com/pLIEj.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/pLIEj.png" alt="enter image description here"></a></p>
  
  <p>But as you can, there is a error message.</p>
  
  <p>What do I have to add to run the Ktor app?</p>