title: ERROR StatusLogger Log4j2 could not find a logging implementation. Please add log4j-core to the classpath. Using SimpleLogger to log to the console
body: <p>I've log4j-api v2.0.2 and log4j-core v2.0.2 in the pom.xml of a fragment project and trying to build a project thats OSGI compliant. I get the following message </p>
  
  <pre><code> "ERROR StatusLogger Log4j2 could not find a logging implementation. 
      Please add log4j-core to the classpath. Using SimpleLogger to log to the
      console...".
  </code></pre>
  
  <p>log4j2.xml file is under src/main/resources folder. I printed the class path <code>(System.getProperties())</code> and both the jar's are loaded in the classpath. Any pointers?</p>