After the idea successfully deploys tomcat, start Tomcat, and the result of running the browser is 404

First, according to the website https://www.cnblogs.com/cangqinglang/p/10027199.html , after configuring IDEA, tomcat starts successfully, but the access page reports a 404 error, by consulting http://t.csdn.cn/Iz1BH​​​​​​

This website has found a solution. The output directory path configuration is wrong. Make sure that the output path of the project is the webapps path of tomcat, not the project path.

Guess you like

Origin blog.csdn.net/weixin_45612718/article/details/123373840