gwt谷歌应用程序引擎HTTP错误404 [英] gwt google app engine HTTP ERROR 404

查看:105
本文介绍了gwt谷歌应用程序引擎HTTP错误404的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在eclipse中用谷歌应用程序引擎创建了一个新的gwt项目。
但是当我运行该项目时,在浏览器中,我收到了以下消息。


HTTP错误404



访问/Test.html的问题。原因:

  NOT_FOUND 

由Jetty提供支持://


现在显示以下信息。


HTTP错误:503



访问/Test.html的问题。原因:

  SERVICE_UNAVAILABLE 

由Jetty提供支持://


可能是什么问题?我做了清洁和构建。但仍然是同样的问题。

解决方案

我会建议您检查一下:



a)在eclipse项目的GWT设置中选择正确的项目目录作为WAR。您可以通过右键单击该项目,选择属性,然后在左侧列表中单击Google(Google项目将包含子项目;应在其中一个项目中指定WAR)来检查项目GWT设置。 b)在运行/调试配置中,-startupUrl选项后面的URL是正确的(如果它不存在,那么您应该添加它)。参数可以插入到参数选项卡的程序参数文本字段中。


I created a new gwt project with google application engine in eclipse. But when I run the project, in the browser I got the following message.

HTTP ERROR 404

Problem accessing /Test.html. Reason:

NOT_FOUND

Powered by Jetty://

now it shows the following message.

HTTP ERROR: 503

Problem accessing /Test.html. Reason:

SERVICE_UNAVAILABLE

Powered by Jetty://

What could be the problem? I did clean and build. But still the same problem.

解决方案

I would recommend you check that:

a) The correct project directory is selected as your WAR in your eclipse project GWT settings. You can check your project GWT settings by right-clicking on the project, selecting Properties, and then clicking on Google in the left-hand list (the Google item will have sub-items; the WAR should be specified in one of them).

b) The URL following the -startupUrl option in your run/debug configuration is correct if it exists (if it doesn't exist then you should add it). The argument can be inserted into the "Program arguments" text field in the "Arguments" tab.

这篇关于gwt谷歌应用程序引擎HTTP错误404的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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