Component issue with Vaadin Flow tutorial. Unit and Integration Chapter.

I’m going through the tutorial and, where you have to add the Component annotation to the ListView class, there is conflict between the org.springframework.stereotype.Component import and the getToolbar() method which returns the com.vaadin.flow.component.Component. Any Ideas how to get around this?

Use @SpringComponent instead.

Thank you. That worked.