Migrating from Vaadin7 to Vaadin8 - annotations error

Hello, I am migrating a Vaadin7 project to Vaadin8.
So far I have modified the pom files and ran the Vaadin migration tool.

Now when trying to build the project I receive an error: “cannot resolve symbol ‘PropertyId’”

This is due to the following import:
“Import com.vaadin.annotations.PropertyId”

The import is used for example in the following code:
@PropertyId(“firstName”)
private TextField firstNameField;

I tried searching for documentation regarding annotations but it has been removed from the Vaadin website.

Data binding API changed significantly between 7 and 8. Did you took a look to the migration guide?

Here’s the link to the annotation javadoc https://vaadin.com/api/framework/8.26.0/com/vaadin/annotations/PropertyId.html

That’s very helpful, thanks a lot