title: java.lang.ClassNotFoundException: org.springframework.web.context.ContextLoaderListener add dependencies to Web Deployment Assembly doesn't work
body: <p>I am starting with spring and found examples as startpoint in the web (e.g. <a href="http://www.mkyong.com/jsf2/jsf-2-0-spring-hibernate-integration-example/" rel="nofollow">http://www.mkyong.com/jsf2/jsf-2-0-spring-hibernate-integration-example/</a>). I am working
  with eclipse and the sysdeo-plugin. By starting tomcat I am getting the error:</p>
  
  <pre><code>java.lang.ClassNotFoundException: org.springframework.web.context.ContextLoaderListener
  </code></pre>
  
  <p>and</p>
  
  <pre><code>java.lang.ClassNotFoundException: org.springframework.web.context.request.RequestContextListener
  </code></pre>
  
  <p>I tried adding Maven dependencies to Web Deployment Assembly definition but I'm still
  getting the error.</p>
  
  <p>The spring-web and spring JARs are on classpath.</p>
  
  <p>I removed the workspace and added a new one, I removed tomcat, nothhing helps.</p>
  
  <p>When I export the project as war-file from eclipse and put it in the tomcat webapp
  directory all works fine.</p>