title: The value for annotation attribute FindBy.xpath must be a constant expression
body: <p>My problem is different of what has been posted:</p>
  
  <ol>
  <li><a href="https://stackoverflow.com/questions/7926596/value-for-the-annotation-attribute-must-be-constant-expression">value for the annotation attribute must be constant expression</a> <strong>OR</strong></li>
  <li><a href="https://stackoverflow.com/questions/16744067/the-value-for-annotation-attribute-min-value-must-be-a-constant-expression">The value for annotation attribute Min.value must be a constant expression</a></li>
  </ol>
  
  <p>I have already made it <code>final</code> and <code>static</code> still it is giving me that error on hovering over it.
  <br>Here is my code:<br>
  <strong>Login.java</strong></p>
  
  <pre><code>@FindBy(xpath = Constants.user_email)
  public static WebElement user_email;
  </code></pre>
  
  <p><strong>Constants.java</strong></p>
  
  <pre><code>public static final String user_email= CONFIG.getProperty("user_email");
  </code></pre>
  
  <p>What I tried to fix this:
  I changed this <code>public static Properties CONFIG = new Properties();</code> to this 
  <code>public static final Properties CONFIG = new Properties();</code></p>