You need to enable JavaScript to run this app.
优惠活动
大模型
产品
解决方案
定价
更多

启动Tomcat后浏览器出现HTTP Status 404错误,求助解决方法

Tomcat 9.0.71启动后访问根路径返回HTTP 404,已尝试多种排查方法仍未解决

大家好,我碰到了一个Tomcat的棘手问题:当我启动Tomcat 9.0.71后,明明HTML页面编写完全正确,但访问根路径(/)时浏览器一直弹出404错误,具体错误内容如下:

HTTP Status 404 – 未找到
Type Status Report
Message The requested resource [/] is not available
Description The origin server did not find a current representation for the target resource or is not willing to disclose that one exists.
Apache Tomcat/9.0.71

我已经尝试了这些方法排查,但问题还是没解决:

  • 清除浏览器缓存
  • 重新启动Tomcat,甚至重装了Tomcat
  • 关闭并重新打开旧项目,还新建了空白项目测试

相关错误的截图显示了上述完整的404页面内容,有没有朋友能帮我分析下可能的原因?

内容的提问来源于stack exchange,提问作者Diyorbek Saidov

相关产品推荐
方舟 Agent Plan

超全模态模型 × Harness 升级,最新支持 Deepseek-V4.1-Flash、GLM-5.3 系列、Doubao-Seedream-5.0-pro、Kimi-K3 (部分), 限时 9.9 元起

最近更新时间:2026.08.04 16:40:49