vaadinvaadin-flowvaadin23

Vaadin doesn't show up after upgrade from 23.2.10 to 23.3.1


Intention: I want to switch from Vaadin 23.2.10 to 23.3.1.

What I did: In the pom.xml I changed Vaadin version from 23.2.10 to 23.3.1.

What happened: After that the application (Spring Boot plus Vaadin) starts, but the UI doesn't show up. Instead I see this message:

404 message

Question: Is there anything special to migrate between these versions? The guide at https://vaadin.com/blog/vaadin-23.3-kubernetes-cloud-new-ui-components just says "Update the Vaadin version in your pom.xml to 23.3.0 if you are on Vaadin 23.2.x."

What I tried and additional observations:


Solution

  • As noted from the release notes Spring Boot 2.7.x is needed to run the latest Vaadin 23.3.x.

    Vaadin 23.3.x can't register its custom Servlet with Spring Boot <= 2.6.x, because it switched to the new / non-deprecated @AutoConfiguration available since Spring Boot 2.7.0 to prepare for Spring Boot 3.0 where the old mechanism is completely removed.