title: Variable might not have been initialized when I'm using @RequiredArgsConstructor
body: <p>I'm learning about Lombok and I have this error: Variable productRespository might not have been initialized. But I have the @RequiredArgsConstructor. And I'm using Intellij idea. So why do I need to create a constructor if I'm using this annotation? Thank you!</p>
  
  <pre><code>import lombok.RequiredArgsConstructor;
  
      @RequiredArgsConstructor
  
      @Service
      public class ProductService {
  
          private final ProductRespository productRespository;
  
          ...
      }
  </code></pre>