Legacy Knowledge Base
Published Jul. 2, 2025

Commerce Modules are not loading

Written By

Pooja Bhambani

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

  • All modules which have any dependency on Commerce related classes are not loading properly.
  • Steps to reproduce
    1. Deploy the module which have dependency on commerce classes.
    2. The module will work fine before restart the server.
    3. After that, restart the server and the below dependency error is showing.
    2021-09-16 07:01:28.273 ERROR [Framework Event Dispatcher: Equinox Container: 7b09ec77-c988-45a1-9b56-4823b2f5267d][Framework:93] FrameworkEvent ERROR
    org.osgi.framework.BundleException: Could not resolve module: ipdc.headless.product.impl [1473]_ Unresolved requirement: Import-Package: com.liferay.commerce.product.model; version="[9.1.0,10.0.0)"_ [Sanitized]
    at org.eclipse.osgi.container.Module.start(Module.java:444)
    at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.incStartLevel(ModuleContainer.java:1682)
    at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.incStartLevel(ModuleContainer.java:1662)
    at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.doContainerStartLevel(ModuleContainer.java:1624)
    at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.dispatchEvent(ModuleContainer.java:1555)
    at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.dispatchEvent(ModuleContainer.java:1)
    at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:230)
    at org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManager.java:340)

Environment

  • Liferay DXP 7.3
  • Commerce 3.0

Resolution

  • The observed behavior is a known issue and it will be fixed in the upcoming fix-pack.
  • If the hotfix is required for this issue, please create a support ticket requesting hotfix by attaching patch details.
  • Installing Fix Packs and Hotfixes on Liferay DXP will guide to install this hotfix in the respective environment.

Additional Information

  • If hotfix is given, then the below portal property is included in portal.properties file which is set to false by default.
    enterprise.product.commerce.enabled=false
  • Make sure, include this property in portal-ext.properties file and set it to true.
    Note: After adding the above property, server restart is required so as to bring the properties into effect.
Did this article resolve your issue ?

Legacy Knowledge Base