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, 1 month ago
How can I tell Vaadin 8 to use the compatibility WidgetSet
I try to test my app on Vaadin 8, but it fails to pick up the compatibility WidgetSet. (client-compiled)
Can anyone give me a hint how to do this?
Last updated on
Hi,
I suggest to only add the non-precompiled module to the classpath and then vaadin-maven-plugin will pick the compatibility components and add them to your app widgetset:
<dependency>
<groupId>com.vaadin</groupId>
<artifactId>vaadin-compatibility-client</artifactId>
<scope>provided</scope>
</dependency>
If you absolutely want to use the pre-compiled widgetset you'll manually need to specify the legacy widgetset to your UI class:
@Widgetset("com.vaadin.v7.Vaadin7WidgetSet")
public class MyUI extends UI {
cheers,
matti
Last updated on
You cannot reply to this thread.