title: Bean Validation doesn't work?
body: <p>I'm looking for a solution to my problem but still haven't found. In my bean I'm using  annotations to validations but doesn't work and I'm looking for in all internet to do this work. </p>
  
  <p>I'm using: Vaadin 7 and Maven </p>
  
  <p>I do this.</p>
  
  <pre><code>/** person's bean */
  @Entity
  public class Person{
  
  @Id
  @GeneratedValue
  private Integer id;
  
  @NotNull
  @NotEmpty
  @Size(min=5, max=50, message="insert first name")
  private String firstName;
  
  @NotNull
  @NotEmpty
  @Email private String email;
  
  //get and set
  }
  
  //my app
  public class LoginView extends VerticalLayout{
      private TextField firstName, email;
      private BeanFieldGroup&lt;Person&gt; binder;
      private FormLayout form;
  
      public LoginView(){
             form = new FormLayout();
             binder = new BeanFieldGroup&lt;Person&gt;(Person.class);
             Field&lt;?&gt; field = null;
             field = binder.buildAndBind("Firstname", "firstName");
             firstName = (TextField)binder.getField("firstName");
             form.addComponent(firstName);
  
             field = binder.buildAndBind("Email", "email");
             email = (TextField)binder.getField("email");
             form.addComponent(email);
             this.addComponent(form);
       }
  }
  </code></pre>
  
  <p>How I can do this work ?</p>
  
  <p><img src="https://i.stack.imgur.com/IyP0x.png" alt="enter image description here"></p>
  
  <pre><code>/** maven dependecy */
  &lt;dependency&gt;
      &lt;groupId&gt;com.vaadin.addon&lt;/groupId&gt;
      &lt;artifactId&gt;beanvalidation-addon&lt;/artifactId&gt;
      &lt;version&gt;0.6.2&lt;/version&gt;
  &lt;/dependency&gt;
  
  
  
  /** exception */
  java.lang.NoSuchMethodError: com.vaadin.event.EventRouter.fireEvent(Ljava/util/EventObject;Lcom/vaadin/server/ErrorHandler;)V
      at com.vaadin.server.VaadinService.onVaadinSessionStarted(VaadinService.java:783)
      at com.vaadin.server.VaadinService.createAndRegisterSession(VaadinService.java:740)
      at com.vaadin.server.VaadinService.doFindOrCreateVaadinSession(VaadinService.java:696)
      at com.vaadin.server.VaadinService.findOrCreateVaadinSession(VaadinService.java:637)
      at com.vaadin.server.VaadinService.findVaadinSession(VaadinService.java:501)
      at com.vaadin.server.VaadinService.handleRequest(VaadinService.java:1376)
      at com.vaadin.server.VaadinServlet.service(VaadinServlet.java:238)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
      at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
      at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:220)
      at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:122)
      at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:501)
      at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:170)
      at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:98)
      at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:950)
      at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116)
      at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:408)
      at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1040)
      at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:607)
      at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:315)
      at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
      at java.lang.Thread.run(Thread.java:724)
  </code></pre>