title: SpringVaadinServlet calling a missing method from VaadinServlet?
body: <p>I'm trying to follow the Vaadin Spring tutorial and I'm getting an error setting up the servlet. </p>
  
  <p>Here is my UI class based off of the tutorial: </p>
  
  <pre><code>@SpringUI
  @Theme("valo")
  
  public class MyUI extends UI {
  
  
  @Override
  protected void init(VaadinRequest request) {
  
  }
  
  @WebServlet(urlPatterns = { "/MyUI/*", "/VAADIN/*" }, name = "MyUIServlet", asyncSupported = true)
  public static class OperationRoomUIServlet extends SpringVaadinServlet {
  
  }
  </code></pre>
  
  <p>Here is the error message:</p>
  
  <pre><code>java.lang.NoSuchMethodError: com.vaadin.server.VaadinServletService.addSessionInitListener(Lcom/vaadin/server/SessionInitListener;)Lcom/vaadin/shared/Registration;
  at com.vaadin.spring.server.SpringVaadinServlet.servletInitialized(SpringVaadinServlet.java:75)
  at com.vaadin.server.VaadinServlet.init(VaadinServlet.java:234)
  at org.apache.catalina.core.StandardWrapper.initServlet(StandardWrapper.java:1227)
  at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1140)
  at org.apache.catalina.core.StandardWrapper.allocate(StandardWrapper.java:817)
  at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:135)
  at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:94)
  at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:504)
  at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:141)
  at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:79)
  at org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:620)
  at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:88)
  at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:509)
  at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1104)
  at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:684)
  at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1524)
  at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1480)
  at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
  at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
  at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
  at java.lang.Thread.run(Unknown Source)
  </code></pre>
  
  <p>If I have the just set it up as a regular vaadin servlet it works, but I'm trying to integrate it with Spring so I can use it as my </p>
  
  <pre><code>@WebServlet(urlPatterns = { "/MyUI/*", "/VAADIN/*" }, name = "MyUISevlet", asyncSupported = true)
  public static class MyUISevlet extends VaadinServlet {
  
  }
  </code></pre>