Loading...
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.

Product icon
TUTORIAL

Vaadin lets you build secure, UX-first PWAs entirely in Java.
Free ebook & tutorial.

Vaadin Spring App not found by server

T W
5 years ago Aug 18, 2017 2:46pm
Marco Collovati
5 years ago Aug 18, 2017 3:13pm

Have you checked in your logs that the Vaadin servlet has been initialized?

You shuold see log lines similiar to the following

...
Servlet will be mapped to URLs [/vaadinServlet/*, /VAADIN/*]
...
Mapping servlet: 'springVaadinServlet' to [/vaadinServlet/*, /VAADIN/*]
...
Forwarding @SpringUI URLs from {/ui=org.springframework.web.servlet.mvc.ServletForwardingController@310b2d9b, /ui/=org.springframework.web.servlet.mvc.ServletForwardingController@310b2d9b}
...
Mapped URL path [/ui] onto handler of type [class org.springframework.web.servlet.mvc.ServletForwardingController]
Mapped URL path [/ui/] onto handler of type [class org.springframework.web.servlet.mvc.ServletForwardingController]
....

 

T W
5 years ago Aug 18, 2017 6:01pm
Marco Collovati
5 years ago Aug 19, 2017 7:52am

Are you using spring boot? If so all the stuff should be autoconfigured.
Otherwise try to follow the instructions at http://vaadin.github.io/spring-tutorial/#_configuring_and_using_vaadin_spring_without_spring_boot

HTH
Marco