Vaadin 24 + Spring Boot 3 + Tomcat 10.x

@qualified-zebu I think there might be a snapshot version available with the fix. I can check it out in a bit.

Yeah, with 24.0-SNAPSHOT as flow-bom version also war packaged Spring Boot app seems to work on tomcat 10.1.

Interesting! Didn’t know servlet 5 is compatible with servlet 6 - nice to know

pom.xml (9.91 KB)
Application.java (734 Bytes)

I think they mostly are backwards compatible in the most commonly used parts, like previous versions. It was just the jakarta namespace change that broke everything.

Yeah and they removed deprecated methods; which nobody would have used anyway :sweat_smile:

My pom.xml was actually missing this, but apparently didn’t break in in tomcat with close enough version:

    <dependency>
        <groupId>org.springframework.boot</groupId>
        <artifactId>spring-boot-starter-tomcat</artifactId>
        <scope>provided</scope>
    </dependency>

Updated version
pom.xml (9.99 KB)

Hello guys, thank you so much for your help! I’ll try that version and let you know asap :slightly_smiling_face:

Updated the blog post about war packaging (or technically removed ~ half of it and linked to Spring Boot docs, sorry @optimistic-vole :grin:). I think it ought to be correct now.

I can confirm that now everything works!
unknown.png

I see that Mikhail made a new PR https://github.com/vaadin/flow/pull/14798 and it’s waiting a review from MarcinVaadin.
https://github.com/vaadin/flow/commit/234a6345c34b1a48674c28106b0017c1e404cffd#commitcomment-86410369