Undefined method in Grid setColums()
cynicbox opened this issue · 5 comments
cynicbox commented
Next lines can fix it
grid.addColumn("id");
grid.addColumn("firstName");
grid.addColumn("lastName");
gregturn commented
@cynicbox I don't get what the problem is. When I run "mvn clean spring-boot:run" the app runs as expected.
tnock commented
cynicbox commented
Thanks god I'm sane ;) But @gregturn is right too. I cloned this repo and everything works fine. It is a mystery.
mstahv commented
I think the issue is you only added vaadin-spring-boot-starter, not the vaadin-bom overriding the Vaadin version in use? Are you using Maven or Gradle?
Maybe we should change the wording "Additionally, you might want to override the used Vaadin version..." to such that it suggests that more strongly. Or/and just update the vaadin-spring-boot-starter with the latest Vaadin version.