title: java: log cannot be resolved
body: <p>i meet a problem 
  I use </p>
  
  <pre><code>IntelliJ IDEA 2017.3.1 
  Build #IU-173.3942.27, built on December 11, 2017
  JRE: 1.8.0_111-b14 amd64
  JVM: Java HotSpot(TM) 64-Bit Server VM by Oracle Corporation
  Windows 7 6.1
  </code></pre>
  
  <blockquote>
    <p>Error:(16, 10) java: log cannot be resolved</p>
  </blockquote>
  
  <pre><code>import lombok.extern.slf4j.Slf4j;
  import org.junit.Test;
  
  
  @Slf4j
  public class LogTest {
  
      @Test
      public void testSlf4j(){
           log.info("测试 lombok slf4j logback");
      }
  
  }
  </code></pre>
  
  <p>i had config 
  Settings -> Build, Execution, Deployment -> Compiler -> Annotation Enable annotation processing </p>
  
  <p>Settings -> Other Settings -> Lombok </p>
  
  <pre><code>    &lt;!-- SLF4J --&gt;
      &lt;dependency&gt;
          &lt;groupId&gt;org.slf4j&lt;/groupId&gt;
          &lt;artifactId&gt;slf4j-api&lt;/artifactId&gt;
          &lt;version&gt;1.7.21&lt;/version&gt;
      &lt;/dependency&gt;
      &lt;!-- Logback --&gt;
      &lt;dependency&gt;
          &lt;groupId&gt;ch.qos.logback&lt;/groupId&gt;
          &lt;artifactId&gt;logback-core&lt;/artifactId&gt;
          &lt;version&gt;1.1.3&lt;/version&gt;
      &lt;/dependency&gt;
      &lt;dependency&gt;
          &lt;groupId&gt;ch.qos.logback&lt;/groupId&gt;
          &lt;artifactId&gt;logback-classic&lt;/artifactId&gt;
          &lt;version&gt;1.1.3&lt;/version&gt;
      &lt;/dependency&gt;
      &lt;dependency&gt;
          &lt;groupId&gt;org.slf4j&lt;/groupId&gt;
          &lt;artifactId&gt;log4j-over-slf4j&lt;/artifactId&gt;
          &lt;version&gt;1.7.21&lt;/version&gt;
      &lt;/dependency&gt;
  
      &lt;!-- https://mvnrepository.com/artifact/org.projectlombok/lombok --&gt;
      &lt;dependency&gt;
          &lt;groupId&gt;org.projectlombok&lt;/groupId&gt;
          &lt;artifactId&gt;lombok&lt;/artifactId&gt;
          &lt;version&gt;1.16.20&lt;/version&gt;
      &lt;/dependency&gt;
  </code></pre>