I am new baby to spring vaadin, I created a spring boot with vaadin in Spring Tool Suite.
Created a @RestController and it is working,
I have some old servlet that I like to added it to the project so I created a Spring bean configuration xml file for my old servlet,it is working fine too.
But after I added a simple class like following @SpringUI
public class MyVaadinUI extends UI { @Override
protected void init(VaadinRequest request) {
setContent(new Label(“Hello! I’m the vaadinUI!”));
}
}
I started the application in STS, all my servlet and controller are mapping correctly, but I got the following:
Forwarding @SpringUI URLs from {}
Neither ‘urlMap’ nor ‘mappings’ set on SimpleUrlHandlerMapping
Registering Vaadin servlet of type [com.vaadin.spring.server.SpringVaadinServlet]
This application has no explicit mapping for /error, so you are seeing this as a fallback.Wed Jul 06 10:31:29 MST 2016
There was an unexpected error (type=Not Found, status=404).
No message available
Just to add to the conversation; I am evaluating vaadin with spring boot and I came across the same problem. My springUi class was in a totally different package structure than my main class. After I moved the UI class to the same package as my main class, it was correctly mapped.