legacy-knowledge-base
公開されました Sep. 10, 2025

パブリック IP を使用してアダプティブ メディア URL にアクセスしているときに 400 エラー コードを取得する

written-by

Dávid Hegedüs

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

learn-legacy-article-disclaimer-text

問題

ERROR [http-nio-8080-exec-10][TrashEntryServiceImpl:114] com.liferay.portal.kernel.exception.SystemException: Couldn't initialize a SAX driver to create an XMLReader
com.liferay.portal.kernel.exception.SystemException: Couldn't initialize a SAX driver to create an XMLReader
at com.liferay.portal.store.s3.S3Store.transform(S3Store.java:902)
at com.liferay.po

Environment

  • Liferay DXP 7.2 S3 統合によるバニラセットアップ

解決策

  • この問題を解決するには、S3Store での作業中に SAXParser エラーを 修正するために、SAXParser を手動で定義する必要があります。
  • ステップ1:
    • Apache Tomcat のようなアプリ サーバーを使用している場合、以下のプロパティを system-ext.properties ファイルに含め、Liferay DXP の /WEB-INF/classes/ の下に配置する必要があります。インストールのクラスパス。 サーバーを再起動します。
org.xml.sax.driver=com.sun.org.apache.xerces.internal.parsers.SAXParser
  • ステップ2:
    • ブラウザーで dev-tools コンソールを開きます
    • ネットワーク タブに移動します。
    • キャッシュを無効にする ボックスをオンにして、アダプティブ メディアの URL を直接リロードすると、画像に到達できます。

追加情報

did-this-article-resolve-your-issue

legacy-knowledge-base