title: Why does dropwizard configuration is not working?
body: <p>Recently I ported the HVDF project's dropwizard version from 0.6.2 to 0.8.2.Once I try to run the application I get the following error.I provide the config class and yml file below:</p>
  
  <p>Config class:</p>
  
  <pre><code>package com.mongodb.hvdf;
  
  import io.dropwizard.Configuration;
  
  import java.util.LinkedHashMap;
  import java.util.Map;
  
  import com.mongodb.hvdf.configuration.MongoGeneralConfiguration;
  
  public class HVDFConfiguration extends Configuration {
  
      public MongoGeneralConfiguration mongodb = new MongoGeneralConfiguration();
      public Map&lt;String, Object&gt; services = new LinkedHashMap&lt;String, Object&gt;();
  }
  </code></pre>
  
  <p>Yaml file:</p>
  
  <pre><code>server:
    applicationConnectors:
      - type: http
        port: 8080
  </code></pre>
  
  <p>I get the following error at runtime:</p>
  
  <pre><code>config.yml has an error:
    * Failed to parse configuration at: server.applicationConnectors.[0]; Could not resolve type id 'http' into a subtype of [simple type, class io.dropwizard.jetty.ConnectorFactory]
   at [Source: N/A; line: -1, column: -1] (through reference chain: com.mongodb.hvdf.HVDFConfiguration["server"]-&gt;io.dropwizard.server.DefaultServerFactory["applicationConnectors"]-&gt;java.util.ArrayList[0])
  </code></pre>