title: Import log4j.Logger in Java project
body: <p>I am trying to build a simple java application in eclipse that uses log4j to make logs (I intend to export it as a jar file).</p>
  
  <p>But when I try to import org.apache.log4j.Logger in the java file, I get an error as follows</p>
  
  <p><a href="https://i.stack.imgur.com/8d3JO.png" rel="nofollow"><img src="https://i.stack.imgur.com/8d3JO.png" alt="enter image description here"></a></p>
  
  <p>Could someone please help me with this?</p>