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”