Legacy Knowledge Base
Published Jun. 30, 2025

'${processor.processMax()' error while creating Application Display Templates

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.

Issue

  • In the application display templates, whenever try to create an asset publisher template, the below error appears on the UI:websphere.png
  • The error appears in the Liferay logs as well:
 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}'

Environment

  • Liferay DXP 7.1

Resolution

  • The above error appears based on the shared file library configuration. Follow the below steps to configure the shared library properly:
  • The following files are required to install Liferay DXP on the WebSphere application server and are available from the Help Center.
      1.  DXP WAR file
      2.  OSGi Dependencies ZIP file
      3.  Dependencies ZIP file (DXP 7.3 and earlier)
    Now, create the liferay_shared_libraries directory at
    [Install Location]/WebSphere/AppServer/profiles/your-profile/ 
    and add the following liferay-dxp-dependencies-[version].zip: Unzip this file and place its contents in the liferay_shared_libraries directory.

Note: Exclude the step to copy the above dependencies on the [Install Location]/WebSphere/AppServer/lib/ext folder.

  • Navigate to [Install Location]/WebSphere/AppServer/profiles/your-profile/
  • Create directory:app_shared_libraries
  • Move portlet.jar from [Install Location]/WebSphere/AppServer/lib/ext into app_shared_libraries
  • Follow the steps from using a server associated shared library Make sure to choose Classes loaded with local class loader first (parent_Last)
  • Save and restart the server

Additional Information

Did this article resolve your issue ?

Legacy Knowledge Base