一般都是war没有配置好
https://blog.csdn.net/weixin_45014413/article/details/120992253
上边是直接localhost加端口,后边没有项目名称请求页面么,404一般都是路径有问题