title: Spring Boot external configuration and xml context
body: <p>I want to externalize my configuration with Spring Boot, but I want to continue to partially use my xml context.</p>
  
  <p>My main class SpringServerApplication.java :</p>
  
  <pre><code>@Configuration
  @PropertySources(value = {@PropertySource("classpath:/application.properties")})
  public class SpringServerApplication {
  
      public static void main(String[] args) throws Exception {
          SpringApplication.run(new Object[] {
                  SpringServerApplication.class, "classpath:ApplicationContextServer.xml" }, args);
      }
  
  }
  </code></pre>
  
  <p>I put my configuration in application.properties.</p>
  
  <p>And in ApplicationContextServer.xml, I want to use some parameter like this : ${user}.</p>
  
  <p>But it does not work. Thanks in advance for your help.</p>