When using the following code snippet:
public class MyUrls { // properties get initialized using static{...}
Whilst URL_HOMEPAGE is a constant it's value may not be, it can only be determined at runtime. I believe that values used in annotations must be resolvable at compile-time.
URL_HOMEPAGE