vaadin / vaadin-button-flow

Vaadin Flow Java API for vaadin/vaadin-button Web Component
https://vaadin.com/components/vaadin-button
Other
0 stars 7 forks source link

Demo of version 2.0.2 broken due to Flow API change #162

Closed paulroemer closed 4 years ago

paulroemer commented 4 years ago

Looks like the version delivered with Vaadin 14.2.0 has to be rebuild with the Flow version delivered with Vaadin 14.2.0. There has been an API change that seems to break binary compatibility (varargs have been introduced for the shortcut registration via https://github.com/vaadin/flow/commit/388dcfd15f2276426d9e4a3ed562d2e90c131ee3)

This seems to be the cause for

java.lang.NoSuchMethodError: com.vaadin.flow.component.ShortcutRegistration.listenOn(Lcom/vaadin/flow/component/Component;)Lcom/vaadin/flow/component/ShortcutRegistration;
    at com.vaadin.flow.component.button.demo.ButtonView.createButtonsWithShortcuts(ButtonView.java:191)