title: NoClassDefFoundError: org/slf4j/impl/StaticLoggerBinder
body: <p>I'm trying to run the sample tiles example given <a href="http://richardbarabe.wordpress.com/2009/02/17/apache-tiles-2-a-brief-example/" rel="noreferrer">here</a>.</p>
  
  <p>Below is my POM.xml:</p>
  
  <pre><code>&lt;dependencies&gt;
          &lt;dependency&gt;
              &lt;groupId&gt;junit&lt;/groupId&gt;
              &lt;artifactId&gt;junit&lt;/artifactId&gt;
              &lt;version&gt;3.8.1&lt;/version&gt;
              &lt;scope&gt;test&lt;/scope&gt;
          &lt;/dependency&gt;
          &lt;dependency&gt;
              &lt;groupId&gt;org.apache.tiles&lt;/groupId&gt;
              &lt;artifactId&gt;tiles-api&lt;/artifactId&gt;
              &lt;version&gt;2.1.2&lt;/version&gt;
          &lt;/dependency&gt;
          &lt;dependency&gt;
              &lt;groupId&gt;org.apache.tiles&lt;/groupId&gt;
              &lt;artifactId&gt;tiles-core&lt;/artifactId&gt;
              &lt;version&gt;2.1.2&lt;/version&gt;
          &lt;/dependency&gt;
          &lt;dependency&gt;
              &lt;groupId&gt;org.apache.tiles&lt;/groupId&gt;
              &lt;artifactId&gt;tiles-jsp&lt;/artifactId&gt;
              &lt;version&gt;2.1.2&lt;/version&gt;
          &lt;/dependency&gt;
          &lt;dependency&gt;
              &lt;groupId&gt;org.slf4j&lt;/groupId&gt;
              &lt;artifactId&gt;slf4j-api&lt;/artifactId&gt;
              &lt;version&gt;1.5.2&lt;/version&gt;
          &lt;/dependency&gt;
  </code></pre>
  
  <p>When I'm trying to run the example the below error is thrown:</p>
  
  <pre><code>Sep 17, 2010 11:59:43 PM org.apache.catalina.core.StandardContext listenerStart
  SEVERE: Error configuring application listener of class      org.apache.tiles.web.startup.TilesListener
  java.lang.NoClassDefFoundError: org/slf4j/impl/StaticLoggerBinder
  at org.slf4j.LoggerFactory.&lt;clinit&gt;(LoggerFactory.java:60)
  at org.apache.commons.logging.impl.SLF4JLogFactory.getInstance(SLF4JLogFactory.java:155)
  at org.apache.commons.logging.impl.SLF4JLogFactory.getInstance(SLF4JLogFactory.java:131)
  at org.apache.commons.logging.LogFactory.getLog(LogFactory.java:685)
  at org.apache.tiles.web.startup.TilesListener.&lt;init&gt;(TilesListener.java:49)
  at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
  at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
  at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
  at java.lang.reflect.Constructor.newInstance(Unknown Source)
  at java.lang.Class.newInstance0(Unknown Source)
  at java.lang.Class.newInstance(Unknown Source)
  </code></pre>
  
  <p>Any idea?</p>
  
  <p>I spent 30 minutes googling for this but could not find a possible sollution.</p>
  
  <p>Please help me...</p>