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

Carousel Portlet が 'ClassNotFoundException' で Ehcache プラグインの読み込みを妨げる

written-by

Liferay Support

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

この記事はレガシー記事です。 以前のバージョンのLiferay製品にも適用されます。 記事がメンテナンスされなくなったとはいえ、まだ該当する可能性があります。

この記事では、Carousel ポートレット (XTIVIA 製のサードパーティ製アプリ) と Ehcache プラグインを一緒にデプロイした場合、システムを再起動した後に ClassNotFoundExceptionのために Ehcache プラグインのデプロイに失敗するというシナリオについて説明します。

再現するためのステップ

  1. カルーセルポートレットEhcacheプラグインを取得します。
  2. Liferayポータル6.1 EE GA3の起動
  3. Carouselプラグインを配置します。
  4. Ehcache プラグインをデプロイします。
  5. Ehchache プラグインはスタックトレースで ClassNotFoundExceptionを示してデプロイに失敗します。

決議

portal-ext.properties ファイルに以下を設定します。

portal.security.manager.strategy=default

追加情報

この問題を解決するプロパティは、Liferay Portal 6.2 でデフォルトですでに設定されていることに注意してください。

did-this-article-resolve-your-issue

legacy-knowledge-base