title: Why the value of user.name property in application.yml is wrong?
body: <p>That is a simple problem.
  I hava a <code>application.yml</code>:</p>
  
  <pre><code>server:
    port: 852
  
  user:
    name: Jack
    name1: Tom
    description: ${user.name}
  </code></pre>
  
  <p>And a User Java class:</p>
  
  <pre><code>@Component
  @ConfigurationProperties(prefix = "user")
  public class User {
  
      private String name;
      private String description;
      private String name1;
  
      public String getName() {
          return name;
      }
      public void setName(String name) {
          this.name = name;
      }
      public String getDescription() {
          return description;
      }
      public void setDescription(String description) {
          this.description = description;
      }
      public String getName1() {
          return name1;
      }
      public void setName1(String name1) {
          this.name1 = name1;
      }   
  }
  </code></pre>
  
  <p>And finally there is a MVC Controller java class:</p>
  
  <pre><code>@RestController
  public class HelloController {
      @Autowired User user;   
  
      @RequestMapping("/user")
      public String getUser() {
          return user.getName() + "--------" + user.getDescription() + "----" + user.getName1();
      }   
  }
  </code></pre>
  
  <p>Ok,there is seem correct, but when entered "localhost:852/user" at browser address,I got wrong result as follow:</p>
  
  <pre><code>BG221726--------BG221726----Tom
  </code></pre>
  
  <p>Note that,"BG221726" is my computer name! What's wrong with my code????</p>