title: Spring @Value annotation always evaluating as null?
body: <p>So, I have a simple properties file with the following entries:</p>
  
  <pre><code>my.value=123
  another.value=hello world
  </code></pre>
  
  <p>This properties file is being loaded using a <code>PropertyPlaceHolderConfigurer</code>, which references the properties file above.</p>
  
  <p>I have the following class, for which I'm trying to load these properties in to like so:</p>
  
  <pre><code>public class Config
  {
      @Value("${my.value}")
      private String mValue;
  
      @Value("${another.value}")
      private String mAnotherValue;
  
      // More below...
  }
  </code></pre>
  
  <p>The problem is that, <code>mValue</code> and <code>mAnotherValue</code> are ALWAYS null... yet in my Controllers, the value is being loaded just fine.  What gives?</p>