SBT的默认配置更改 [英] default configuration change for SBT

查看:105
本文介绍了SBT的默认配置更改的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我将SBT集成到现有应用程序中,并且能够在启用sbt的情况下运行该应用程序.我在测试服务器上进行了部署,并且工作正常,但是当我移至生产环境时,由于应用程序的上下文路径不同,因此会中断.

I integrated SBT in my existing application and able to run the application with sbt enabled. I deployed in my test server and it works fine but when I moved to the production, Since the context path of the application is different it breaks.

例如:在测试服务器中,我的应用程序网址为 https://somedomian/SampleSbt

Ex: in test server my application url is https://somedomian/SampleSbt

生产中 htt .... somedomain/serve/meth/SampleSbt

In production htt....somedomain/serve/meth/SampleSbt

我在萤火虫中遇到错误,因为 htt ..... domain/sbt/js/sdk/sbt/ErrorTransport.js->禁止

I'm getting error in firebug as htt.....domain/sbt/js/sdk/sbt/ErrorTransport.js -> Forbidden

我尝试通过多种方式更改上下文路径/我的代码路径/managed-beans.xml,但仍然会给出相同的错误

I tried changing the context path /my code path /managed-beans.xml and many ways but still it gives the same error

想要将路径从http ..... somedomain/sbt/js/sdk/sbt/Errortransport.js更改为http ..... somedomain/serv/meth/sbt/js/sdk/sbt/Errortransport .js

want to change the path from http.....somedomain/sbt/js/sdk/sbt/Errortransport.js to http.....somedomain/serv/meth/sbt/js/sdk/sbt/Errortransport.js

推荐答案

昨天与Projjwal Saha进行了讨论之后,该问题应得到解决. 如果可以的话,您是否可以进行更新?如果您仍然看到此问题,请告知我们.

After the discussion yesterday with Projjwal Saha, the issue should be resolved. Can you update if it is, or let us know in case you still see the issue.

这篇关于SBT的默认配置更改的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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