title: How can I import Log in java?
body: <p>I tried using these 2 imports:</p>
  
  <pre><code>import org.apache.commons.logging.Log;
  import org.apache.commons.logging.LogFactory;
  </code></pre>
  
  <p>But I get the error <em>Cannot resolve symbol commons</em>. Does anyone have any clue why ? Also, <code>java.util.logging</code> works for me, but I need LogFactory. I'm using jdk 1.8.0.</p>