title: Dropwizard Kotlin "Main method is not static in class" when running java -jar
body: <p>I am attempting to start my Dropwizard Kotlin application. When running:</p>
  
  <pre><code>java -jar target/application-1.0.jar server environment.yml
  </code></pre>
  
  <p>I get the following error:</p>
  
  <pre><code>Error: Main method is not static in class, please define the main method as: 
     public static void main(String[] args)
  </code></pre>