Search code examples
springapitomcathttp-status-code-404web-deployment

How to properly deploy war file in tomcat?


Im Deploying the .war in webapps, but at manager/html/WarFileName gives 404 error (https://i.sstatic.net/bvtLW.png)

I have tried to check for logs, but catalina.out seems to be fine without any errors. Obvisouly even reaching the path with postman does not work. Do you have any ideas?


Solution

  • Fixed by downgrade tomcat from version 10 to 8; Tomcat 10 keep looking for jakarta packages, while my springboot app was still using Javax Tomcat 10.0.4 doesn't load servlets (@WebServlet classes) with 404 error