Important Notice - Forums is archived
To simplify things and help our users to be more productive, we have archived the current forum and focus our efforts on helping developers on Stack Overflow. You can post new questions on Stack Overflow or join our Discord channel.

Vaadin lets you build secure, UX-first PWAs entirely in Java.
Free ebook & tutorial.
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?
tks
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?
Johannes,
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,
@SpringView
public class TestImp extends Test implements View{
@Override
public void enter(ViewChangeEvent event) {
// TODO Auto-generated method stub
}
}
Then I back to my VaadinUI and change to this:
@SpringUI
@Theme("valo")
public class VaadinUI extends UI {
@Override
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"
I fix this puting the .html files into /src/main/resources
tks