Search code examples
javaeclipseimportvaadinvaadin14

The import com.vaadin.flow.component.gridpro cannot be resolved


I made a project using vaadin 14.7.1 to create a GUI. Now I am working on a different machine with the same project and I am not able to import the Vaadin Pro Components. The error:

The import com.vaadin.flow.component.gridpro cannot be resolved

Im using the Eclipse IDE and arleady tried to update the maven project and deleting the .m2 folder, but nothing works.

Thanks in advance


Solution

  • The error states, that the class can not be found and therefor the artifact is missing. Given, that the setup in general is fine (so no errors loading the artifacts, no broken artifacts in the local/caching/... repository, valid version, ...):

    You are using the wrong artifact: com.vaadin:vaadin-core only contains the free components. If you want all (free and pro) components, use com.vaadin:vaadin; or add the pro components you need a la cart.