5

我已经在 Windows Vista 上安装了 eclipse,并且我添加了一个新的 Apache Tomcat 服务器 Apache Tomcat/7.0.27。

在 Eclipse 中启动 Apache 后,我在 url 中输入以下地址“localhost:8080”

我得到一个页面说:

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

1 回答 1

15

Hi I faced same problem and below steps resolved the problem.

  1. In the eclipse right click on server and click on properties.
  2. If Location is set workspace/metadata click on switch location and so that it refers to /servers/tomcatv7server at localhost.server
  3. Save and close
  4. Next double click on server
  5. Under server locations mostly it would be selected as useworkspacemetadata
  6. Instead, select usetomcatinstallation
  7. Save changes
  8. Restart server and verify localhost:8080 works.
于 2013-06-13T05:21:44.643 回答