Important Notice - Forums is archived
To simplify things and help our users to be more productive, we have archived the current forum and focus our efforts on helping developers on Stack Overflow. You can post new questions on Stack Overflow or join our Discord channel.

TUTORIALVaadin lets you build secure, UX-first PWAs entirely in Java.
Vaadin lets you build secure, UX-first PWAs entirely in Java.
Free ebook & tutorial.
Calling javascript synchronously by Enver Haase, 3 weeks ago
Can't make ContextMenu addon work
Hi, I'm trying to make the com.vaadin.contextmenu.ContextMenu addon work with not result.
ivy.xml:
<dependency org="com.vaadin" name="vaadin-context-menu" rev="2.0.0" />
With this code:
menu = new ContextMenu(table, true);
I get this error:
java.lang.NoSuchMethodError: com.vaadin.event.ContextClickEvent$ContextClickNotifier.addContextClickListener(Lcom/vaadin/event/ContextClickEvent$ContextClickListener;)Lcom/vaadin/shared/Registration;
at com.vaadin.contextmenu.ContextMenu.setAsContextMenuOf(ContextMenu.java:70)
at com.vaadin.contextmenu.ContextMenu.<init>(ContextMenu.java:58)
Any ideas?
Last updated on
Hi,
are you using Vaadin 7? 2.0.0 is only compatible with Vaadin 8.
-Olli
Last updated on
Olli Tietäväinen: Hi,
are you using Vaadin 7? 2.0.0 is only compatible with Vaadin 8.
-Olli
Hi, I solved with version 0.7.5
Thank you very much.
Last updated on
You cannot reply to this thread.