0

我已将 css 文件放在未加载的子文件夹中。

application
 --resource
  ---bootstrap
     ----css
      -----bootstrap.min.css

使用的标签是

<h:outputStylesheet name="css\bootstrap.min.css" library="bootstrap" />

这呈现为

<link type="text/css" rel="stylesheet" href="RES_NOT_FOUND" />

我已经在 openshift 中部署了应用程序。它在我的本地工作正常

两个地方的服务器都是一样的“wildfly -10”。

4

0 回答 0