Unfortunately the Maven Import destroys the Vaadin layout when the project

Unfortunately the Maven Import destroys the Vaadin layout when the project is ran by clicking on the Green Arrow at Main method (IntelliJ IDEA).

But when it is ran using the Maven Task

spring-boot:run

it works like a charm and you get an nice Floating Action Button