title: Working with @ConfigurationProperties in a non Spring-Boot application
body: <p>I'm trying to get configuration-binding in my Spring-MVC application (non Spring-Boot) enabled using the @ConfigurationProperties. The only thing i did so far, is that I added the Maven <code>spring-boot</code> dependency to my project, to get the <code>ConfigurationProperties</code> class.</p>
  <pre><code>@Configuration
  @PropertySource(&quot;classpath:foo.properties&quot;)
  @ConfigurationProperties(prefix = &quot;foo&quot;)
  public class FooConfig{
  
    private String bar;
    // ...  
  }
  </code></pre>
  <p>So far nothing is being bound. Any thoughts to get the binding going?</p>