Legacy Knowledge Base
公開されました Jun. 30, 2025

アプリケーション表示テンプレートの作成時に「${processor.processMax()」エラー

Written By

Anushka Tiwari

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.

問題

  • アプリケーション・ディスプレイ・テンプレートで、アセット・パブリッシャー・テンプレートを作成しようとすると、UI上に以下のエラーが表示されます:websphere.png
  • このエラーは Liferay のログにも表示されます:
 ERROR [WebContainer : 13][LiferayMethodExceptionEventHandler:54] Unable to execute method processMax {exception=com.liferay.portal.kernel.portlet.PortletContainerException: com.ibm.Websphere.servlet.error.ServletErrorReport: java.lang.NoClassDefFoundError: javax.servlet.http.Cookie, className=com.liferay.portal.layoutconfiguration.util.velocity.TemplateProcessor}'.

環境

  • Liferay DXP 7.1

解像度

  • 上記のエラーは、共有ファイル・ライブラリーの設定に基づいて表示される。 以下の手順に従って、共有ライブラリを適切に設定してください:
  • WebSphere アプリケーションサーバーに Liferay DXP をインストールするには、以下のファイルが必要で、Help Center から入手できます。
    1. DXP WARファイル
    2. OSGi 依存関係 ZIP ファイル
    3. Dependencies ZIP file (DXP 7.3 and earlier)
    次に、liferay_shared_librariesディレクトリを以下の場所に作成します。
    [Install Location]/WebSphere/AppServer/profiles/your-profile/ 
    を開き、次のliferay-dxp-dependencies-[version].zip を追加します:このファイルを解凍してliferay_shared_librariesディレクトリに置きます。

注: [Install Location]/WebSphere/AppServer/lib/ext フォルダに上記の依存関係をコピーする手順は除外してください。

  • 次の場所に移動します。 [インストール先]/WebSphere/AppServer/profiles/your-profile/に移動します。
  • ディレクトリを作成します:app_shared_libraries
  • 移動 ポートレット.jar を [インストール先]/WebSphere/AppServer/lib/ext から から に移動します。
  • の手順に従ってください。 サーバー関連共有ライブラリの使用 ローカルのクラス・ローダーでロードされたクラスを最初に選択してください(parent_Last)。
  • 保存してサーバーを再起動

追加情報

Did this article resolve your issue ?

Legacy Knowledge Base