EventRouter.fireEvent - NoSuchMethod


Using Vaadin 7.1.10, I get the following error while calling the web application.

WARNING: StandardWrapperValve[com.sample.MyServlet]
: PWC1406: Servlet.service() for servlet com.sample.MyServlet threw exception
java.lang.NoSuchMethodError: com.vaadin.event.EventRouter.fireEvent(Ljava/util/EventObject;Lcom/vaadin/server/ErrorHandler;)V

While using Vaadin 7.1.8, I don’t get this error even if this version is using EventRouter also. How to solve it?


The method was added in 7.1.10; you probably have an old conflicting version of Vaadin still somewhere on the classpath.

You’re right. There were a vaadin-6.8.1.jar in the classpath. Maven configuration file was referencing some vaadin 6 specifics add-ons.