Exclude tomcat dependency from maven when building
I am working on a Spring Boot 3.4.0 application configured as a WAR for deployment on WildFly 34. After several attempts, I successfully excluded conflicting dependencies (like embedded Tomcat and logging), and the WAR now deploys correctly on WildFly.