【问题标题】:Tomcat always gives 404Tomcat总是给出404
【发布时间】:2011-02-08 06:39:51
【问题描述】:

我正在尝试在我的 tomcat 上部署一个 Google-Web-Toolkit 网络应用程序。它在 Eclipse Hosted 模式下工作,它在没有 rpc 调用的 XAMPP 上工作,但在 tomcat 上它甚至找不到 HTML。

在任何事情发生之前,我总会得到

localhost:8080/test.html

请求的资源 (/test.html) 不可用。

即使我只是将 HelloWorld.html 放在 webapps 文件夹中,我也无法显示它。我错过了什么?

【问题讨论】:

标签: html tomcat gwt http-status-code-404


【解决方案1】:

您应该将您的 webapp 放在“webapps”文件夹内的另一个文件夹中,然后导航到 http://localhost:8080/foldername/test.html

【讨论】:

    猜你喜欢
    • 2017-11-24
    • 2021-08-05
    • 2018-07-25
    • 1970-01-01
    • 2018-01-04
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多