Tabris“Hello World”应用程序未显示

时间:2012-10-11 16:58:09

标签: eclipse demo servletexception

我正在尝试跟随http://developer.eclipsesource.com/tabris/docs/gettingstarted-hello-world的hello world教程。我按照解释设置了一切,但是当我尝试启动浏览器时 错误404 - 未找到错误。

此服务器上没有上下文匹配或处理此请求。

我正在使用J2EE预览服务器。

知道为什么会这样或者如何解决?

1 个答案:

答案 0 :(得分:0)

我最近在web.xml中修复了一个错误(请参阅commit https://github.com/eclipsesource/tabris-sdk/commit/bf6400006768353a85b925a9239aceb82d190bcf)。

类org.eclipse.rwt.engine.RWTServletContextListener已移至org.eclipse.rap.rwt.engine.RWTServletContextListener(注意区别是“rap”)。它已在下一个SDK中修复,但在您的示例中,您需要将WebContent / WEB-INF / web.xml文件中的listener-class属性修改为“org.eclipse.rap.rwt.engine.RWTServletContextListener”。

希望这有帮助吗?

相关问题