title: Tiles2 not working with struts2
body: <p>I am working on struts2 and using tiles in my application we use Netbeans7.1. But we got an error "The module has not been deployed.See the server log for details."</p>
  
  <blockquote>
    <p>"Exception while loading the app : java.lang.IllegalStateException:
    ContainerBase.addChild: start: org.apache.catalina.LifecycleException:
    java.lang.NoClassDefFoundError: org/apache/commons/digester/Rule"</p>
  </blockquote>
  
  <p>we add listener in <code>web.xml</code></p>
  
  <p><strong>web.xml file</strong></p>
  
  <p></p>
  
  <pre><code> &lt;param-name&gt;org.apache.tiles.impl.BasicTilesContainer.DEFINITIONS_CONFIG&lt;/param-name&gt;
  
      &lt;param-value&gt;/WEB-INF/tiles.xml&lt;/param-value&gt;
  
  &lt;/context-param&gt;
  
  &lt;listener&gt;
      &lt;listener-class&gt;org.apache.tiles.web.startup.TilesListener&lt;/listener-class&gt;
  &lt;/listener&gt;
  </code></pre>
  
  <p>struts.xml file</p>
  
  <p></p>