【问题标题】:Unable to deploy app on google app engine using jetty:"HTTP ERROR 404 Pblm accessing /.Reason: not found"无法使用码头在谷歌应用引擎上部署应用程序:“HTTP ERROR 404 Pblm access /.Reason: not found”
【发布时间】:2013-02-28 16:52:39
【问题描述】:

我尝试使用我找到的一篇文章 here 来设置一个使用 Java 的示例“待办事项”谷歌应用引擎示例。

但是,当我尝试在本地运行应用程序并检查 localhost:8888 地址时,我收到以下错误:

HTTP ERROR: 404

Problem accessing /. Reason:

    NOT_FOUND
Powered by Jetty://

我已经仔细检查了我的 appengine-web.xml 和 web.xml。但似乎无法弄清楚我哪里出错了。

链接: Appengine-web.xml。
web.xml

【问题讨论】:

    标签: java google-app-engine jsp servlets jetty


    【解决方案1】:

    您的 appengine-web.xml 和 web.xml 看起来是正确的,但在您的 web.xml 中有:

    <servlet-class>com.test.todo.dao..ServletRemoveTodo</servlet-class>
    

    你意识到这两个点了吗?我认为这就是问题所在。服务器找不到 servlet 并抛出 NOT FOUND 错误。

    应该是:

    <servlet-class>com.test.todo.dao.ServletRemoveTodo</servlet-class>
    

    【讨论】:

      猜你喜欢
      • 2013-02-20
      • 1970-01-01
      • 1970-01-01
      • 2012-01-28
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多