title: SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder". error
body: <ul>
  <li>Regarding <em>Eclipse IDE</em> (<strong>Indigo</strong>, <strong>Juno</strong> and <strong>Kepler</strong> (32 and 64 bit versions))</li>
  <li><em>Platforms</em>: <strong>Windows</strong>, <strong>Ubuntu</strong>, <strong>Mac</strong></li>
  <li><em>m2e version</em>: <strong>1.1.0.20120530-0009</strong>, <strong>1.2.0.20120903-1050</strong>, <strong>1.3.0.20130129-0926</strong>,<br>
  <strong>1.4.0.20130601-0317</strong> </li>
  </ul>
  
  <hr>
  
  <h2><strong>General info</strong></h2>
  
  <p>The above error came after updating the m2e to version 1.1. <strong><em>By removing m2e 1.1 and rolling back to m2e 1.0 everything worked fine.</em></strong> I tried to repeat the problem in Windows and Ubuntu and it gave me the exact same error. Numerous configurations of the slf4j-api and logback were tested but none seem to work. </p>
  
  <p>The error appears in any maven project <strong>even without declaring slf4j dependency</strong>. </p>
  
  <ul>
  <li><p>New Maven Project--> maven-archetype-quickstart </p>
  
  <p><strong>and</strong> </p></li>
  <li><p>New Maven Project--> Simple project without archetype selection </p>
  
  <p>result to</p></li>
  </ul>
  
     <pre class="lang-java prettyprint-override"><code>SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
  </code></pre>
  
  <hr>
  
  <h2><strong>Testing enviroments and configurations</strong></h2>
  
  <p>Tested with Eclipse Indigo and Eclipse Juno (32 and 64 bit both) on Mac, 32 bit on Ubuntu and 64 and 32 bit on Windows. Tested fresh installs of <strong>Juno Classic</strong>, <strong>Juno Modelling tools</strong>, <strong>Kepler Standard</strong>, <strong>Kepler Modelling Tools</strong> and produced the same error. </p>
  
  <p>The error appears with <strong>clean</strong>, <strong>install</strong>, <strong>test</strong>, <strong>deploy</strong>, <strong>generate-sources</strong>, <strong>validate</strong> , <strong>compile</strong> , <strong>package</strong>, <strong>integration-test</strong>, <strong>verify</strong> and combinations of the goal clean with the rest goals. It appears also with parameters <strong>-e</strong> and <strong>-X</strong>. There was an attempt to delete the m2e repository and download it from scratch but again without success. It should me mentioned that it was tested in 3 different machines and virtual box all the above systems but it produced the same error. </p>
  
  <p>Tried all different <strong>logback</strong> configurations (from 1.0.4 to 1.0.13) that resolve the <strong>slf4j-api</strong> and <strong>logback-core</strong> dependencies, but all produce the same error:</p>
  
  <pre class="lang-xml prettyprint-override"><code>&lt;dependency&gt;
     &lt;groupId&gt;ch.qos.logback&lt;/groupId&gt;
     &lt;artifactId&gt;logback-classic&lt;/artifactId&gt;
     &lt;version&gt;&lt;/version&gt;
  &lt;/dependency&gt;
  </code></pre>
  
  <p>Tried all different (from 1.6.1 to 1.7.5 ) <strong>slf4j-simple</strong> configurations.</p>
  
  <pre class="lang-xml prettyprint-override"><code>&lt;dependency&gt;
     &lt;groupId&gt;org.slf4j&lt;/groupId&gt;
     &lt;artifactId&gt;slf4j-simple&lt;/artifactId&gt;
     &lt;version&gt;&lt;/version&gt;
     &lt;scope&gt;compile&lt;/scope&gt;
  &lt;/dependency&gt;
  </code></pre>
  
  <p>Tried all different (from 1.6.1 to 1.7.5 ) <strong>log4j-over-slf4j</strong> configurations.</p>
  
  <pre class="lang-xml prettyprint-override"><code>&lt;dependency&gt;
     &lt;groupId&gt;org.slf4j&lt;/groupId&gt;
     &lt;artifactId&gt;log4j-over-slf4j&lt;/artifactId&gt;
     &lt;version&gt;&lt;/version&gt;
     &lt;scope&gt;compile&lt;/scope&gt;
  &lt;/dependency&gt;
  </code></pre>
  
  <p>Tried all different (from 1.6.1 to 1.7.5 ) <strong>slf4j-jdk14</strong> configurations.</p>
  
  <pre class="lang-xml prettyprint-override"><code>&lt;dependency&gt;
     &lt;groupId&gt;org.slf4j&lt;/groupId&gt;
     &lt;artifactId&gt;slf4j-jdk14&lt;/artifactId&gt;
     &lt;version&gt;&lt;/version&gt;
     &lt;scope&gt;compile&lt;/scope&gt;
  &lt;/dependency&gt;
  </code></pre>
  
  <p>Tried all different (from 1.6.1 to 1.7.5 ) <strong>slf4j-log4j12</strong> configurations.</p>
  
  <pre class="lang-xml prettyprint-override"><code>&lt;dependency&gt;
       &lt;groupId&gt;org.slf4j&lt;/groupId&gt;
       &lt;artifactId&gt;slf4j-log4j12&lt;/artifactId&gt;
       &lt;version&gt;&lt;/version&gt;
       &lt;scope&gt;compile&lt;/scope&gt;
  &lt;/dependency&gt;
  </code></pre>
  
  <p>Tried <strong>slf4j-nop 1.7.5</strong> configuration.</p>
  
  <pre class="lang-xml prettyprint-override"><code>&lt;dependency&gt;
    &lt;groupId&gt;org.slf4j&lt;/groupId&gt;
    &lt;artifactId&gt;slf4j-nop&lt;/artifactId&gt;
    &lt;version&gt;1.7.5&lt;/version&gt;
    &lt;scope&gt;compile&lt;/scope&gt;
  &lt;/dependency&gt;
  </code></pre>
  
  <p><strong><em>Last but not least the logs are saved and printed despite the error.</em></strong></p>
  
  <hr>
  
  <h2><strong>Ways to reproduce the error</strong></h2>
  
  <ul>
  <li><p>Download Eclipse Juno, Indigo or Kepler 32 or 64 bit (All installations will
  cause the same error). </p>
  
  <ul>
  <li><p>Install m2e - Maven Integration for Eclipse</p>
  
  <ul>
  <li>Juno - <a href="http://download.eclipse.org/releases/juno" rel="noreferrer">http://download.eclipse.org/releases/juno</a></li>
  <li>Kepler - <a href="http://download.eclipse.org/releases/kepler" rel="noreferrer">http://download.eclipse.org/releases/kepler</a></li>
  <li>Indigo - <a href="http://download.eclipse.org/technology/m2e/releases/" rel="noreferrer">http://download.eclipse.org/technology/m2e/releases/</a> (<strong><em>currently unavailable</em></strong>)</li>
  </ul>
  
  <p><strong>OR</strong></p></li>
  <li><p>Update your m2e version to <strong>1.1.0.20120530-0009</strong>, or <strong>1.2.0.20120903-1050</strong>, or <strong>1.3.0.20130129-0926</strong>, or <strong>1.4.0.20130601-0317</strong> )</p>
  
  <hr></li>
  <li><p>Select File->New->Other->Maven Project->Click Next->Select<br>
  maven-archetype-quickstart from the catalog->Finish</p>
  
  <p><strong>OR</strong></p></li>
  <li><p>Select File->New->Other->Maven Project->Click Next->Select Create a simple project (skip archetype selection)-> Complete Artifact info-> Finish</p></li>
  </ul></li>
  <li>Right Click on the project->Runs As->clean install (or any other goal mentioned above)</li>
  </ul>
  
  <p>The first line on the console will be </p>
  
  <pre class="lang-java prettyprint-override"><code>SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
  SLF4J: Defaulting to no-operation (NOP) logger implementation
  SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details.
  </code></pre>
  
  <p><strong><em>P.S. Existing projects will produce the same error after updating the m2e version to 1.1.0.20120530-0009</em></strong>, <strong>1.2.0.20120903-1050</strong>, <strong>1.3.0.20130129-0926</strong>, <strong>1.4.0.20130601-0317</strong></p>
  
  <p><hr></p>
  
  <h2><strong>Updates</strong></h2>
  
  <p><strong>EDIT</strong></p>
  
  <p><strong>m2e support site:</strong> </p>
  
  <ul>
  <li><p>The above question was posted as a bug in m2e support site and the answer from Igor Fedorenko was that</p>
  
  <blockquote>
    <p>There are no immediate plans to suppress this message.</p>
  </blockquote>
  
  <p>For viewing the above bug please refer to <a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=387064" rel="noreferrer">m2e official support site</a></p></li>
  </ul>
  
  <p><hr>
  <strong>EDIT 2</strong></p>
  
  <ul>
  <li>The above error indication is <strong>present</strong> also to <strong>m2e</strong> version <strong><em>1.2.0.20120903-1050</em></strong></li>
  </ul>
  
  <p><hr>
  <strong>EDIT 3</strong></p>
  
  <ul>
  <li>The above error indication is <strong>present</strong> also to <strong>m2e</strong> version <strong><em>1.3.0.20130129-0926</em></strong></li>
  </ul>
  
  <p><hr>
  <strong>EDIT 4</strong></p>
  
  <ul>
  <li>The above error indication is <strong>present</strong> also to <strong>m2e</strong> version <strong><em>1.4.0.20130601-0317</em></strong></li>
  </ul>
  
  <p><hr>
  <strong>EDIT 5</strong></p>
  
  <pre><code>                              ***Reported FIXED***
  </code></pre>
  
  <ul>
  <li>The above error is reported as fixed for <strong>m2e</strong> version <strong><em>1.5.0/Luna M3</em></strong>(<em>Target Milestone</em>). The version is not yet available for download. </li>
  <li><strong><em>Luna M3</em></strong> is <a href="http://wiki.eclipse.org/Luna/Simultaneous_Release_Plan#Schedule" rel="noreferrer">scheduled for Nov. 15th</a>. </li>
  <li>Latest dev build are available <a href="http://nexus.tesla.io:8081/nexus/content/sites/m2e.extras/m2e/1.5.0/N/LATEST/" rel="noreferrer">here</a>    </li>
  <li>More information about the m2e milestones you can find at the <a href="http://git.eclipse.org/c/m2e/m2e-core.git/" rel="noreferrer">m2e main repository</a>. </li>
  </ul>