Spring Boot framework is the built-in support for embedded servers. It includes support for embedded Tomcat, Jetty, and Undertow servers. The embedded Tomcat server is available through the spring-boot-starter-web dependency.
However, if you want Jetty or Undertow servers then you can include spring-boot-starter-jetty or spring-boot-starter-undertow dependencies.
This video explains how to replace the default embedded Tomcat with Jetty or Undertow servers.
How to fix java.lang.ClassNotFoundException:jakarta.servlet.http.HttpSessionContext with Spring Boot 3 and Jetty server.
00:00 - Introduction
01:31 - Replace Embedded Tomcat with Undertow in Maven
03:24 - Replace Embedded Tomcat with Undertow in Gradle
04:54 - Replace Embedded Tomcat With Jetty in Maven Spring Boot
06:45 - Replace Embedded Tomcat with Jetty in Gradle
❤️ Get in touch:
Website: [ Ссылка ]
Twitter: [ Ссылка ]
![](https://i.ytimg.com/vi/1gEoiMVULt4/maxresdefault.jpg)