title: ConfigProperty not injecting the value into the field
body: <p>I am new to quarkus environment. I have a quarkus application where I'm trying to inject the property config using</p>
  <blockquote>
  <p>org.eclipse.microprofile.config.inject.ConfigProperty</p>
  </blockquote>
  <p>Here is the sample code</p>
  <pre><code>public class Temp {
  
      @ConfigProperty(name = &quot;secret.token&quot;)
      static String SECRET_KEY;
  
      public void display() {
          System.out.println(SECRET_KEY);
      }
  }
  </code></pre>
  <p>Here is the content of my application.properties</p>
  <pre><code>secret.token = ${TOKEN_SECRET:Root}
  </code></pre>
  <p>Here display method is always printing null.
  The thing is the same property is being injected into the controller/resource endpoint classes properly but not in this class. I also tried using @Inject along with @ConfigProperty but no luck. Any pointers would really help.</p>