SpringBoot app with Undertow as Servlet Container

Said Olano - Oct 27 '23 - - Dev Community

1.- Exclude the default servlet container (on this sample is tomcat):

Image description

2.- Add Undertow dependency:

Image description

3.- Clean your mess up:

Image description

4.- Run Undertow on the app:

Image description

5.- The result gotten:

Image description

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .