java Jetty 显示 http 错误消息 503 SERVICE_UNAVAILABLE
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/25833295/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
Jetty shows http error message 503 SERVICE_UNAVAILABLE
提问by Mehdi TAZI
I developed a maven module application that works fine using (google appengine; maven; springmvc).
我开发了一个 maven 模块应用程序,使用 (google appengine; maven; springmvc) 可以正常工作。
3 weeks after when I decided to add some features I noticed that I can no longer deploy it on the local, when I try to do so, I get:
3 周后,当我决定添加一些功能时,我注意到我无法再在本地部署它,当我尝试这样做时,我得到:
HTTP ERROR: 503
Problem accessing /. Reason:
SERVICE_UNAVAILABLE Powered by Jetty://
HTTP 错误:503
访问 / 时出现问题 原因:
SERVICE_UNAVAILABLE 由 Jetty 提供支持://
NB : I did not change the code(so I'm pretty sure that it's not a source code problem), I just installed some applications like jenkins and sonar.
注意:我没有更改代码(所以我很确定这不是源代码问题),我只是安装了一些应用程序,如 jenkins 和 sonar。
采纳答案by Mehdi TAZI
the solution is nick's comment:
解决方案是尼克的评论:
This happens usually when one of your servlet mappings is broken. You should double-triple-check your web.xml.
这通常发生在您的 servlet 映射之一被破坏时。您应该仔细检查您的 web.xml。