title: The value for annotation attribute RequestMapping.value must be a constant expression
body: <p>When using the following code snippet:</p>
  
  <pre class="lang-java prettyprint-override"><code>public class MyUrls {
  
      // properties get initialized using static{...}
      public final static String URL_HOMEPAGE = properties.getProperty("app.homepage");    
  
  }
  
  @Controller
  public class HomepageController {
  
      @RequestMapping(MyUrls.URL_HOMEPAGE)
      public String homepage() {
          return "/homepage/index";
      }
  
  }
  </code></pre>
  
  <p>I get the following error:</p>
  
  <pre class="lang-none prettyprint-override"><code>The value for annotation attribute RequestMapping.value must be a constant expression
  </code></pre>
  
  <p>But in fact, <code>URL_HOMEPAGE</code> does be a constant, since it is declared as <code>public final static</code>. Am I wrong? How to solve this issue?</p>