简体   繁体   English

Eclipse RAP代理Servlet问题

[英]Eclipse RAP Proxy Servlet Issue

I have a RAP application. 我有一个RAP应用程序。 When I launch the application from eclipse everything is working find. 当我从eclipse启动应用程序时,一切正常。 I can go to the browser an open the application. 我可以转到浏览器打开应用程序。

However, when I build the product and then start the application from the generated product I get the error 404 when trying to access the application thorugh the browser. 但是,当我构建产品然后从生成的产品启动应用程序时,尝试通过浏览器访问应用程序时出现错误404。

I have checked the logs and I can see the bundles are loaded and everything looks nominal. 我检查了日志,可以看到捆绑包已装好,一切看起来都很正常。 Also I can not see any other error message. 我也看不到任何其他错误消息。

This is the plugin.xml file: 这是plugin.xml文件:

<extension
     id="ssp.oasis.agent.entrypoints"
     point="org.eclipse.rap.ui.entrypoint">
  <entrypoint
        path="/sspagent"
        applicationId="com.lsespace.ssp.oasis.agent"
        id="ssp.oasis.agent.entrypoint"
        brandingId="ssp.branding"
        >
  </entrypoint>
</extension>

I type the following on the browser 127.0.0.1:7171/sspagent and then I get the HTTP ERROR 404 我在浏览器127.0.0.1:7171/sspagent上键入以下内容,然后收到HTTP错误404

Obviusly, I am missing something and it is related to the entry point configuration and jetty but I have no idea what it can be. 显然,我缺少一些东西,它与入口点的配置和码头有关,但我不知道它可能是什么。

Could somebody point my in the right direction or tell me a way to troubleshoot this. 有人可以指出我的正确方向,还是告诉我一种解决方法。

Thanks in advance! 提前致谢!

The issue was related to some bundle versions mixed up and or missing. 该问题与某些捆绑软件版本混淆或缺失有关。 The wierd thing is that there were no error messages. 奇怪的是,没有错误消息。 Nevertheless when I realize and corrected the missing/wrong version bundles it worked out. 但是,当我意识到并纠正了丢失/错误的版本捆绑包时,它就解决了。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM