Can't find method onClick with 1 parameters in org.vaadin.addon.leaflet.sha


Last week I’ve upgraded from v-leaflet 1.0.0-b2 to 1.0.0-b7 in order to use the new FlyTo functionality. However since that upgrade the marker on my map is giving the following exception when clicked:

Can’t find method onClick with 1 parameters in org.vaadin.addon.leaflet.shared.ClickServerRpc

Here’s the code:

      [font=courier new]

LMarker marker = new LMarker(lat, long);

        marker.addClickListener(new LeafletClickListener() {
            public void onClick(LeafletClickEvent event) {


This code used to work fine in 1.0.0-b2.
Thanks in advance for any help!