Legacy Knowledge Base
公開されました Jul. 2, 2025

RTL言語への切り替え時にaui_deprecated.cssが読み込めない

Written By

Alfonso Crisci

How To articles are not official guidelines or officially supported documentation. They are community-contributed content and may not always reflect the latest updates to Liferay DXP. We welcome your feedback to improve How To articles!

While we make every effort to ensure this Knowledge Base is accurate, it may not always reflect the most recent updates or official guidelines.We appreciate your understanding and encourage you to reach out with any feedback or concerns.

Legacy Article

You are viewing an article from our legacy "FastTrack" publication program, made available for informational purposes. Articles in this program were published without a requirement for independent editing or verification and are provided"as is" without guarantee.

Before using any information from this article, independently verify its suitability for your situation and project.

問題

  • DXPをRTL言語(例:アラビア語、ヘブライ語)で使用している場合、視覚的なエラーや、 aui_deprecated.css などのCSSファイルをLiferayが読み込めないことに気づくことがあります。

css_not_loaded.png

これと似たようなメッセージで(Chrome)。

Refused to apply style from 'http://localhost:8080/o/frontend-css-web/portal/aui_deprecated.css?t=1559257778864' because its MIME type ('') is not a supported stylesheet MIME type, and strict MIME checking is enabled.

環境への配慮

  • ライフレイDXP 7.0
  • Liferay DXP 7.1

決議

  • お使いのLiferayが LPS-82650の影響を受けているかどうかを確認してください : 影響を受けている場合は、サポートチケットを開いてパッチを要求してください。
  • お使いの Liferay DXP が LPS-82650 の影響を受けない場合、または theme.css.fast.load=false、 javascript.fast.load=false または includ-and-override=portal-developer.properties を使用していない場合。プロパティ を portal-ext.properties ファイルで使用している場合、Liferay の前にある Web サーバーが css リソースを正しく配信していない可能性があります。 その場合、以下は一時的な回避策にしかなりません。

    - サーバを停止する
    - $LIFERAY_HOME/work、 $LIFERAY_HOME/osgi/stateの内容を削除する
    - Appサーバの一時的なキャッシュを削除する (Tomcatでは $TOMCAT_HOME/workと $TOMCAT_HOME/temp)
    - Appサーバの一時的なキャッシュを削除する。 $TOMCAT_HOME /workと$TOMCAT_HOME /temp)
    - サーバーを再起動
    - ブラウザのキャッシュをクリア

    そして、完全な解決のために、Webサーバーを正しくチューニングしなければなりません。
Did this article resolve your issue ?

Legacy Knowledge Base