Migrate from Undertow to Tomcat

Proprietary

Spring Boot 4.0 dropped Undertow support. Remove spring-boot-starter-undertow and, in modules that depend on it, the spring-boot-starter-tomcat exclusion, so that the embedded server falls back to the default Tomcat. Replace UndertowServletWebServerFactory with TomcatServletWebServerFactory; calls to Undertow-specific methods have no Tomcat equivalent and are marked with a TODO comment instead.

io.moderne.java.spring.boot4.MigrateUndertowToTomcat
mod run . --recipe=io.moderne.java.spring.boot4.MigrateUndertowToTomcat

Install it once from Recipe actions, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.