Issue
We currently have a Spring boot
application running on Tomcat 9
.
It is using Spring boot version 2.1.5
. In order to make my application compatible with Tomcat 10
, what should be the Spring boot
version?
Will Spring boot be compatible with Tomcat 10(jakarta.* changes)
? Or is it still in development?
Solution
No version of Spring at this time (neither Spring 5.3.x nor Spring Boot 2.5.x) supports Jakarta EE 9.
According to this issue ticket, you need to wait for Spring 6.x (2022) and Spring Boot 3.x.
Edit: It is official (cf. Spring blog): support for Jakarta EE 9 will be available in Spring Boot 3 and Spring 6, but at the same time they will require Java 17.
Edit2: The first milestone releases (3.0.0-M3
at the time of writing) are available in the Maven repository https://repo.spring.io/ui/native/milestone
.
Answered By - Piotr P. Karwasz
Answer Checked By - Robin (JavaFixing Admin)