title: java.lang.ClassNotFoundException : com.sun.faces.config.ConfigureListener
body: <p>We are three people developing a JSF project and we've not been into JSF before. Oddly, with the same data checked out from SVN, one of the team members gets an 404 error everytime using Tomcat 7.0.27.</p>
  
  <p>At the time when Tomcat (used inside Eclipse) starts up, the following log is written out:</p>
  
  <pre><code>01.06.2012 11:45:16 org.apache.catalina.core.AprLifecycleListener init
  INFO: The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: ......
  01.06.2012 11:45:16 org.apache.tomcat.util.digester.SetPropertiesRule begin
  WARNING: [SetPropertiesRule]{Server/Service/Engine/Host/Context} Setting property 'source' to 'org.eclipse.jst.jee.server:SnapManCloud' did not find a matching property.
  01.06.2012 11:45:16 org.apache.coyote.AbstractProtocolHandler init
  INFO: Initializing ProtocolHandler ["http-bio-8080"]
  01.06.2012 11:45:16 org.apache.coyote.AbstractProtocolHandler init
  INFO: Initializing ProtocolHandler ["ajp-bio-8009"]
  01.06.2012 11:45:16 org.apache.catalina.startup.Catalina load
  INFO: Initialization processed in 677 ms
  01.06.2012 11:45:16 org.apache.catalina.core.StandardService startInternal
  INFO: Starting service Catalina
  01.06.2012 11:45:16 org.apache.catalina.core.StandardEngine startInternal
  INFO: Starting Servlet Engine: Apache Tomcat/7.0.12
  01.06.2012 11:45:17 org.apache.catalina.core.StandardContext listenerStart
  FATAL: Error configuring application listener of class com.sun.faces.config.ConfigureListener
  java.lang.ClassNotFoundException: com.sun.faces.config.ConfigureListener
      at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1676)
      at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1521)
      at org.apache.catalina.core.DefaultInstanceManager.loadClass(DefaultInstanceManager.java:415)
      at org.apache.catalina.core.DefaultInstanceManager.loadClassMaybePrivileged(DefaultInstanceManager.java:397)
      at org.apache.catalina.core.DefaultInstanceManager.newInstance(DefaultInstanceManager.java:118)
      at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4638)
      at org.apache.catalina.core.StandardContext$1.call(StandardContext.java:5204)
      at org.apache.catalina.core.StandardContext$1.call(StandardContext.java:5199)
      at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
      at java.util.concurrent.FutureTask.run(FutureTask.java:138)
      at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
      at java.lang.Thread.run(Thread.java:662)
  01.06.2012 11:45:17 org.apache.catalina.core.StandardContext listenerStart
  FATAL: Skipped installing application listeners due to previous error(s)
  01.06.2012 11:45:17 org.apache.catalina.core.StandardContext startInternal
  FATAL: Error listenerStart
  01.06.2012 11:45:17 org.apache.catalina.core.StandardContext startInternal
  FATAL: Context [/SnapManCloud] startup failed due to previous errors
  01.06.2012 11:45:17 org.apache.coyote.AbstractProtocolHandler start
  INFO: Starting ProtocolHandler ["http-bio-8080"]
  01.06.2012 11:45:17 org.apache.coyote.AbstractProtocolHandler start
  INFO: Starting ProtocolHandler ["ajp-bio-8009"]
  01.06.2012 11:45:17 org.apache.catalina.startup.Catalina start
  INFO: Server startup in 1279 ms
  </code></pre>
  
  <p>We are using Mojarra 2.0.3 as JSF-Implementation which has been included by Eclipse into the project (and presumably into the classpath).</p>
  
  <p>Indeed there is a entry for <code>com.sun.faces.config.ConfigureListener</code> in <code>web.xml</code></p>
  
  <pre><code>&lt;listener&gt;
       &lt;listener-class&gt;com.sun.faces.config.ConfigureListener&lt;/listener-class&gt;
  &lt;/listener&gt;
  </code></pre>
  
  <p>Does anyone have any starting point where to look for the error? Also, if additional information is required, please let me know.</p>