title: Cannot run Vaadin project in Eclipse Juno with Tomcat 7: throws ClassNotFoundException
body: <p>I have created a basic Vaadin project (from its template, I haven't edited the code even). I am using:</p>
  
  <ul>
  <li>Vaadin 6.8.9</li>
  <li>Tomcat 7</li>
  <li>Eclipse Juno</li>
  </ul>
  
  <p>Tomcat throws the following stack-trace:</p>
  
  <pre><code>    HTTP Status 500 - Failed to load application class: com.example.addressbook.AddressbookApplication
  
      type Exception report
  
      message Failed to load application class: com.example.addressbook.AddressbookApplication
  
      description The server encountered an internal error that prevented it from fulfilling this request.
  
      exception
  
      javax.servlet.ServletException: Failed to load application class: com.example.addressbook.AddressbookApplication
          com.vaadin.terminal.gwt.server.ApplicationServlet.init(ApplicationServlet.java:71)
          org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472)
          org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:99)
          org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:947)
          org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:408)
          org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1009)
          org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:589)
          org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:310)
          java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
          java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
          java.lang.Thread.run(Unknown Source)
  </code></pre>
  
  <p>My web.xml file reads as follows:</p>
  
  <pre><code>    &lt;?xml version="1.0" encoding="UTF-8"?&gt;
      &lt;web-app xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"        xmlns="http://java.sun.com/xml/ns/javaee" xmlns:web="http://java.sun.com/xml/ns/javaee/web-       app_2_5.xsd" xsi:schemaLocation="http://java.sun.com/xml/ns/javaee        http://java.sun.com/xml/ns/javaee/web-app_3_0.xsd" id="WebApp_ID" version="3.0"&gt;
        &lt;display-name&gt;AddressBook&lt;/display-name&gt;
        &lt;context-param&gt;
          &lt;description&gt;Vaadin production mode&lt;/description&gt;
          &lt;param-name&gt;productionMode&lt;/param-name&gt;
          &lt;param-value&gt;false&lt;/param-value&gt;
        &lt;/context-param&gt;
        &lt;servlet&gt;
          &lt;servlet-name&gt;Addressbook Application&lt;/servlet-name&gt;
          &lt;servlet-class&gt;com.vaadin.terminal.gwt.server.ApplicationServlet&lt;/servlet-class&gt;
          &lt;init-param&gt;
              &lt;description&gt;
              Vaadin application class to start&lt;/description&gt;
              &lt;param-name&gt;application&lt;/param-name&gt;
              &lt;param-value&gt;com.example.addressbook.AddressbookApplication&lt;/param-value&gt;
          &lt;/init-param&gt;
        &lt;/servlet&gt;
        &lt;servlet-mapping&gt;
          &lt;servlet-name&gt;Addressbook Application&lt;/servlet-name&gt;
          &lt;url-pattern&gt;/*&lt;/url-pattern&gt;
        &lt;/servlet-mapping&gt;
        &lt;welcome-file-list&gt;
          &lt;welcome-file&gt;index.html&lt;/welcome-file&gt;
          &lt;welcome-file&gt;index.htm&lt;/welcome-file&gt;
          &lt;welcome-file&gt;index.jsp&lt;/welcome-file&gt;
          &lt;welcome-file&gt;default.html&lt;/welcome-file&gt;
          &lt;welcome-file&gt;default.htm&lt;/welcome-file&gt;
          &lt;welcome-file&gt;default.jsp&lt;/welcome-file&gt;
        &lt;/welcome-file-list&gt;
      &lt;/web-app&gt;
  </code></pre>
  
  <p>I don't know what the problem is... Any suggestions are greatly appreciated.
  Thanks.</p>