title: Spring 3.2.*, Error resolving placeholder with multiple <context:property-placeholder>
body: <p>Sombody knows if this is a bug or an expected behaviour</p>
  
  <p>If you have a component with</p>
  
  <pre><code>@Value("${foo}")
  private String fooValue;
  </code></pre>
  
  <p>And this config:</p>
  
  <pre><code>&lt;beans&gt;
      &lt;context:annotation-config /&gt;
      &lt;context:component-scan base-package="org.mortar" /&gt;
      &lt;aop:aspectj-autoproxy /&gt;
      &lt;context:property-placeholder location="classpath:a.properties"/&gt;
      &lt;context:property-placeholder location="classpath:b.properties"/&gt;
  &lt;/bean&gt;
  </code></pre>
  
  <p>You get an Exception:</p>
  
  <pre><code>java.lang.IllegalArgumentException: Could not resolve placeholder 'foo' in string value "${foo}"
  </code></pre>
  
  <p>If you use a singe context:property-placeholder it works just fine:</p>
  
  <pre><code>&lt;beans&gt;
      &lt;context:annotation-config /&gt;
      &lt;context:component-scan base-package="org.mortar" /&gt;
      &lt;aop:aspectj-autoproxy /&gt;
      &lt;context:property-placeholder location="classpath:a.properties, classpath:b.properties"/&gt;
  &lt;/bean&gt;
  </code></pre>