[英]Unable to deploy app on google app engine using jetty:“HTTP ERROR 404 Pblm accessing /.Reason: not found”
Ive bee trying to set up a sample 'todo' google app engine example that uses Java, using an article I found here . Ive蜜蜂试图使用我在这里找到的文章来建立一个使用Java的示例“ todo” google app引擎示例。
However, when I try to run the application locally, and check the localhost:8888 address I get the following error: 但是,当我尝试在本地运行应用程序并检查localhost:8888地址时,出现以下错误:
HTTP ERROR: 404
Problem accessing /. Reason:
NOT_FOUND
Powered by Jetty://
I've double checked my appengine-web.xml and the web.xml. 我已经仔细检查了我的appengine-web.xml和web.xml。 But cant seem to figure out where Im going wrong.
但是似乎无法弄清楚我在哪里出错。
Links: Appengine-web.xml . 链接: Appengine-web.xml 。
web.xml web.xml
Your appengine-web.xml and web.xml seem correct, but in your web.xml there is: 您的appengine-web.xml和web.xml似乎正确,但是在web.xml中有:
<servlet-class>com.test.todo.dao..ServletRemoveTodo</servlet-class>
Did you realise these 2 dots? 您意识到这两个点了吗? I think that's the problem.
我认为这就是问题所在。 The server can't find the servlet and throws NOT FOUND error.
服务器找不到servlet,并引发NOT FOUND错误。
It should be: 它应该是:
<servlet-class>com.test.todo.dao.ServletRemoveTodo</servlet-class>
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.