title: Failed to load class "org.slf4j.impl.StaticLoggerBinder" -- Which classpath?
body: <p>My <code>pom.xml</code> contains only one reference to SLF4J:</p>
  
  <pre><code>    &lt;dependency&gt;
          &lt;groupId&gt;org.slf4j&lt;/groupId&gt;
          &lt;artifactId&gt;slf4j-jdk14&lt;/artifactId&gt;
          &lt;version&gt;1.5.10&lt;/version&gt;
      &lt;/dependency&gt;
  </code></pre>
  
  <p>I am getting this error:</p>
  
  <blockquote>
    <p>SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".</p>
    
    <p>SLF4J: Defaulting to no-operation (NOP) logger implementation SLF4J:</p>
    
    <p>See <a href="http://www.slf4j.org/codes.html#StaticLoggerBinder" rel="noreferrer">http://www.slf4j.org/codes.html#StaticLoggerBinder</a> for further
    details.</p>
  </blockquote>
  
  <p>I checked that URL and indeed it provides a solution: <em>"Placing one (and only one) of slf4j-nop.jar, slf4j-simple.jar, slf4j-log4j12.jar, slf4j-jdk14.jar or logback-classic.jar on <strong>the class path</strong> should solve the problem. "</em></p>
  
  <p>My question is: <strong>which</strong> classpath?</p>
  
  <ul>
  <li>The system's <a href="http://docs.oracle.com/javase/tutorial/essential/environment/paths.html" rel="noreferrer">%CLASSPATH%</a>? (I don't have one! I will need to create it specifically for this)</li>
  <li>Eclipse's project <code>.classpath</code>? (I think I tried this but it didn't help)</li>
  <li>Other?</li>
  </ul>
  
  <p>I found quite <a href="https://stackoverflow.com/a/9919375/1864054">a few</a> postings on the subject <a href="https://stackoverflow.com/questions/11916706/slf4j-failed-to-load-class-org-slf4j-impl-staticloggerbinder-error">here</a> on SO, but they all quote the same answer: <em>"place ... on <strong>the class path</strong>"</em>.</p>
  
  <p><strong>Which</strong> classpath?</p>