title: Spring Boot: PropertyPlaceholderConfigurer is not loading properties
body: <p>I've a Spring Boot application created as follows, that runs as a Java standalone process</p>
  
  <pre><code>@Configuration
  @ComponentScan(basePackages = {"com.abc.def.ghi"})
  public class Application {
  
  public static void main(String[] args) throws Exception {
      SpringApplication springApplication = new SpringApplication(Application.class);
      springApplication.setWebEnvironment(false);
      springApplication.run(args);
  }
  
  @Bean
  public static PropertyPlaceholderConfigurer propertyPlaceholderConfigurer () {
      PropertyPlaceholderConfigurer propertyPlaceholderConfigurer = new MyConfigPropertyPlaceholderConfigurer();
      return propertyPlaceholderConfigurer;
  }
  </code></pre>
  
  <p>I can see that <code>MyConfigPropertyPlaceholderConfigurer</code> implementation is successfully loading the properties into its <code>Properties</code> member.</p>
  
  <p>However, when <code>MyErrorHandler</code> is being initialized any of the <code>@Value</code> annotated members are not being loaded, even though they do exist in the <code>Properties</code> object</p>
  
  <pre><code>@Component
      public class MyErrorHandler {
      @Value("${max.retries}")
      private Integer maxRetries;
      @Value("${backoff.multiplier}")
      private Integer backOffMultiplier;
  
      public MyErrorHandler() {
          super();
          maximumRedeliveries(maxRetries);
          backOffMultiplier(backOffMultiplier);
      }
  </code></pre>
  
  <p>What am I missing here?</p>