Apache Tomcat 404错误 [英] Apache Tomcat 404 Error

查看:266
本文介绍了Apache Tomcat 404错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我下载了Apache Tomcat 6.0.2
并在Eclipse中创建了一个新服务器

I downloaded Apache Tomcat 6.0.2 And created a new server in Eclipse


  1. 新建 - >服务器

  2. 选择Tomcat v6.0 Server,Next

  3. Tomcat安装目录 - >我解压缩Apache Tomcat 6.0.2

  4. 完成

  1. New -> Server
  2. Select "Tomcat v6.0 Server", Next
  3. Tomcat Installation Directory -> Where I unzipped Apache Tomcat 6.0.2
  4. Finish

然后我启动服务器,然后转到 http:// localhost:8080 / ,看看它是否工作。我收到404错误。

Then I start the server and go to http://localhost:8080/ to see if it works. And I get a 404 error.

我已经google了,试图找到一个解决方案。但是这些补救办法似乎都没有起作用。

I've already googled it and tried to find a solution. But none of those remedies seem to work.

对于什么问题有任何想法?

Any thoughts on what the problem is?

推荐答案

从我的头顶,我认为Eclipse启动了tomcat服务器,没有任何东西,即没有Web应用程序。您必须运行或实际部署Eclipse Tomcat服务器中的某些东西,以便您不会得到404。

From the top of my head, I thought Eclipse started the tomcat server without anything in it, i.e. no web applications. You have to 'run' or actually deploy something in that Eclipse Tomcat server so you won't get the 404s.

您收到404错误消息的事实表明Tomcat实际上是运行的。如果你从Eclipse关闭它,你将不会再获得404了;)

The fact that you do get 404 error messages indicates that Tomcat actually IS running. If you shut it down from Eclipse, you won't get those 404's anymore ;)

这篇关于Apache Tomcat 404错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆