Vaadin migration, missing several class under com.vaadin.v7.ui.*

Hi, I’m trying to migrate from Vaadin 7.7.13 to 8.4.3 with the compatibility mode, but I’m stuck with this missing dependencies.

In my source code there are several calls to: UI, Button, Panel, Layout and so on…but it seems that there is no direct mapping from com.vaadin.ui to com.vaadin.v7.ui for these classes.

Any hint will be appreciated,
thanks for the help.

There is only compatibility versions of the components which are not compatible, e.g. Button should work in 8 just like it works in 7 and you can use com.vaadin.ui.Button everywhere.

Artur Signell:
There is only compatibility versions of the components which are not compatible, e.g. Button should work in 8 just like it works in 7 and you can use com.vaadin.ui.Button everywhere.

So I’ve to link both the compatibility jar and the “normal” jar?

Yes. When/if you finish moving away from using .v7. classes, then you can drop the compatibility jars

Artur Signell:
Yes. When/if you finish moving away from using .v7. classes, then you can drop the compatibility jars

Thanks, I got the impression that I had to use only the compatibility jars, but it makes sense to use both