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

詳細な例外を示すフリーマーカー

written-by

Aurél Förstner

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

問題

  • RETHROW が設定されていても、Freemarker はサイトで詳細な例外を表示しています。

Environment

  • Liferay DXP 7.2

解決策

ジャーナル記事エラー テンプレートは、次の手順で構成できます。

  1. システム設定 > Web コンテンツ > Web コンテンツ (仮想インスタンス スコープ) に移動します。
    1. エラー テンプレート FTL の設定: (空白)
    2. 保存

  2. Server Administration
    1.Execute に移動します。クラスター全体でキャッシュされたコンテンツをクリアします。

この設定により、Web コンテンツの作成中にエラーが発生した場合に、スタック トレースが表示されなくなります。

追加情報

did-this-article-resolve-your-issue

legacy-knowledge-base