Closed ledex closed 5 years ago
Did you add both vaadin-spring-boot-starter and the bom to your pom.xml? If so, then Vaadin dependencies are for some reason not loaded properly. Did your IDE pick up the changes? IntelliJ at least by default requires you to reload the configuration, whenever you add/remove dependencies.
Thank you for your fast answer!
I just cloned this repository to try it out. So the pom is the exact same. I am using eclipse and I have already updated the maven project. I also checked "Force Update of Snapshots/Releases".
Also, I get errors in the CustomerEditor when importing Key and KeyNotifier (The import com.vaadin.flow.component.KeyNotifier cannot be resolved
).
Seems like the entire com.vaadin.flow.component
cannot be resolved.
Ever seen something similar?
Broken jar in a local repository? You could try issuing "mvn dependency:purge-local-repository" from command line or deleting your ~/.m2/repository .
Okay. Somehow deleting my .m2 folder worked. Thank you for your help and sorry for bothering. I could have tried that myself.
In MainView.java I am getting the following error when trying to extend VerticalLayout:
The hierarchy of the type MainView is inconsistent. The type com.vaadin.flow.component.Component cannot be resolved. It is indirectly referenced from required .class files