Search code examples
javavaadinvaadin7vaadin8

Issues converting a project from Vaadin 7 to Vaadin 8 with plugins that are using Vaadin 7


I am converting a Vaadin 8 project to 7. When I run the app the following messages is displayed:

   Widgetset 'com.vaadin.DefaultWidgetSet' does not contain an 
   implementation for com.vaadin.v7.ui.ProgressBar. Check the connector's 
@Connect mapping, the widgetset's GWT module description file and re-
compile your widgetset. 

The component it is complaining about is a vaadin plugin

<dependency>
    <groupId>org.vaadin.addons</groupId>
    <artifactId>wizards-for-vaadin</artifactId>
    <version>2.0.0</version>
</dependency>

Inside "wizard-for-vaadin" plugin it is using import com.vaadin.v7.ui.ProgressBar;

How do I get "wizard-for-vaadin" plugin to play nice with Vaadin 8?


Solution

  • For v7 compatibility when using server-side components, annotate your UI class with:

    @Widgetset(value = "com.vaadin.v7.Vaadin7WidgetSet")