0

我正在尝试将使用 BootsFaces 的 JSF 应用程序部署到 OpenShift。当我在 localhost 上运行它时,一切正常,但是当我在 OpenShift 上运行它时,即使我已经设置了所有库,看起来所有 BootsFaces 资源都丢失了。

这是我从 rhc 得到的 jboss 日志

C:\Users\axeli\mytomcatapp>rhc tail -f app-root/logs/jbossews.log -o '-n 30'
RSA 1024 bit CA certificates are loaded due to old openssl compatibility
Mar 21, 2016 7:37:13 PM com.sun.faces.application.resource.ResourceHandlerImpl logMissingResource
WARNING: JSF1064: Unable to find or serve resource, css/default/panels.css.
Mar 21, 2016 7:37:13 PM com.sun.faces.application.resource.ResourceHandlerImpl logMissingResource
WARNING: JSF1064: Unable to find or serve resource, css/default/labels.css.
Mar 21, 2016 7:37:13 PM com.sun.faces.application.resource.ResourceHandlerImpl logMissingResource
WARNING: JSF1064: Unable to find or serve resource, css/default/tooltip.css.
Mar 21, 2016 7:37:13 PM com.sun.faces.application.resource.ResourceHandlerImpl logMissingResource
WARNING: JSF1064: Unable to find or serve resource, css/default/bsf.css.
Mar 21, 2016 7:37:13 PM com.sun.faces.application.resource.ResourceHandlerImpl logMissingResource
WARNING: JSF1064: Unable to find or serve resource, css/default/jq.ui.core.css.
Mar 21, 2016 7:37:13 PM com.sun.faces.application.resource.ResourceHandlerImpl logMissingResource
WARNING: JSF1064: Unable to find or serve resource, css/default/jq.ui.theme.css.
Mar 21, 2016 7:37:13 PM com.sun.faces.application.resource.ResourceHandlerImpl logMissingResource
WARNING: JSF1064: Unable to find or serve resource, css/default/jq.ui.datepicker.css.
Mar 21, 2016 7:37:13 PM com.sun.faces.application.resource.ResourceHandlerImpl logMissingResource
WARNING: JSF1064: Unable to find or serve resource, css/icons.css.
Mar 21, 2016 7:37:13 PM com.sun.faces.application.resource.ResourceHandlerImpl logMissingResource
WARNING: JSF1064: Unable to find or serve resource, jq/jquery.js.
Mar 21, 2016 7:37:13 PM com.sun.faces.application.resource.ResourceHandlerImpl logMissingResource
WARNING: JSF1064: Unable to find or serve resource, jq/ui/core.js.
Mar 21, 2016 7:37:13 PM com.sun.faces.application.resource.ResourceHandlerImpl logMissingResource
WARNING: JSF1064: Unable to find or serve resource, js/tooltip.js.
Mar 21, 2016 7:37:13 PM com.sun.faces.application.resource.ResourceHandlerImpl logMissingResource
WARNING: JSF1064: Unable to find or serve resource, jq/ui/datepicker.js.
Mar 21, 2016 7:37:13 PM com.sun.faces.application.resource.ResourceHandlerImpl logMissingResource
WARNING: JSF1064: Unable to find or serve resource, jq/ui/i18n/datepicker-en.js.
Mar 21, 2016 7:37:13 PM com.sun.faces.application.resource.ResourceHandlerImpl logMissingResource
WARNING: JSF1064: Unable to find or serve resource, js/bsf.js.
Mar 21, 2016 7:37:13 PM com.sun.faces.application.resource.ResourceHandlerImpl logMissingResource
WARNING: JSF1064: Unable to find or serve resource, js/collapse.js.

我的图书馆:

项目库

墨盒:

  • 雄猫 7 (JBoss EWS 2.0)
  • MySQL 5.5
  • phpMyAdmin 4.0

我在这里想念什么?

4

1 回答 1

0

已经解决了。我解压了 BootsFaces jar 并将所有资源复制到我项目的资源文件夹中。不确定这是否是最佳解决方案,因为如果我升级或尝试更改 BootsFaces 版本,我将不得不更改所有这些文件。不过暂时解决了。

于 2016-03-22T00:25:52.450 回答