title: java: lombok: @Slf4j: log cannot be resolved
body: <p>I am using openjdk11 and using <strong>lombok</strong> library. My @Slf4j <strong>works fine in java path</strong> (src/main/java) but gets error in test path(src/test/java). The error is " can not find symbol". May I get any insight on why is happening and how to fix?</p>
  
  <p>I am using spring boot and unit tests are running with MockitoJUnitRunner. So the test classes are annotated as </p>
  
  <pre><code>@RunWith(MockitoJUnitRunner.class)
  @Slf4j
  public class ErrorPathUnitTest { 
  }
  </code></pre>
  
  <p>Gradle version: 5.5
  LOMBOK_VERSION:1.18.6</p>