Tomcat主页不显示并给出404错误

发布于 2024-12-29 18:30:46 字数 434 浏览 3 评论 0原文

当我输入 http://localhost:8080 时,我没有看到 Tomcat 主页/欢迎页面。

我在浏览器窗口中收到以下状态错误消息:

    HTTP Status 404 -
    type Status report
    message
    description The requested resource () is not available. Apache Tomcat/6.0.32

当我尝试启动 tomcat 时,弹出窗口显示为几行。我已经在环境变量中设置了类路径。

Classpath: .,C:\Program Files (x86)\Apache Software Foundation\Tomcat 6.0\lib\servlet-api.jar;

I don't get the Tomcat Home/Welcome Page when I enter http://localhost:8080.

I get the following status error message in my browser window:

    HTTP Status 404 -
    type Status report
    message
    description The requested resource () is not available. Apache Tomcat/6.0.32

The pop up window gets displayed coming with few lines when I try to start the tomcat. I have already set the classpath in my environment variables.

Classpath: .,C:\Program Files (x86)\Apache Software Foundation\Tomcat 6.0\lib\servlet-api.jar;

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

最佳男配角 2025-01-05 18:30:46

安装 Tomcat 有 2 种方法,1. 下载解压的软件包并在环境变量中设置 tomcat home 或 2. 下载可安装的 Tomcat 安装程序。

如果您遇到问题,我建议您使用第二种方法。该设置将为您完成所有配置工作。从站点下载“Deployer:”二进制文件而不是“Core”。

http://tomcat.apache.org/download-70.cgi

There are 2 ways of installing Tomcat, 1. By downloading the extracted package and just setting tomcat home in env variables OR 2. By downloading installable Tomcat setup.

I recommend the second approach in case you are facing issues. That setup will do all the config work for you. Download "Deployer:" binary from site instead of "Core".

http://tomcat.apache.org/download-70.cgi

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文