Tomcat主页不显示并给出404错误
当我输入 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 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
安装 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