SpringBoot configuration with design

I follow the spring-boot tutorial (https://spring.io/guides/gs/crud-with-vaadin/) , so I create my project, and run, this works fine.

but I want to use the desginer mode, so after I create one view and try to show, I got this error:

com.vaadin.ui.declarative.DesignException: Unable to find design file Test.html

how can I fix this?


Are you creating your view with new operator or is it a Spring managed bean? Is it a @SpringView annotated bean implementing com.vaadin.navigator.View?

I create(Command + N) one Vaadin Design(form vaadin design), only change the name to Test . (design location remains notas/src/main/java and java location the same), and finish,


public class TestImp extends Test implements View{


    public void enter(ViewChangeEvent event) {

        // TODO Auto-generated method stub




Then I back to my VaadinUI and change to this:



public class VaadinUI extends UI {


    protected void init(VaadinRequest request) {

        setContent(new TestImp());



go to terminal run gradle bootRun

try to access localhost:8080/notas/

And I got this error:

“com.vaadin.ui.declarative.DesignException: Unable to find design file Test.html in br.com.lumera.ui”

Does your build/classes have the Test.html file?

I fix this puting the .html files into /src/main/resources