I have the same issue , where from the catalina log it is displayed that
02-Mar-2025 10:55:06.454 INFO [http-nio-8080-exec-11] org.apache.catalina.startup.HostConfig.deployWAR Deployment of web application archive [C:\Users....\webapps\ecom-0.0.1-SNAPSHOT.war] has finished in [8,155] ms
but when i try to access my endpoints , it wont be reachable(Got 404).
I fixed it by upgrading the tomcat which matches my java version (21)