legacy-knowledge-base
公開されました Jul. 2, 2025

Commerce モジュールがロードされていません

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

learn-legacy-article-disclaimer-text

問題

  • コマース関連のクラスに依存するすべてのモジュールが正しくロードされていません。
  • 再現手順
    1. コマース クラスに依存するモジュールをデプロイします。
    2. モジュールは、サーバーを再起動する前に正常に動作します。
    3. その後、サーバーを再起動すると、以下の依存エラーが表示されます。
    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

解決策

  • 観察された動作は既知の 問題であり、今後のフィックスパックで修正される予定です。
  • この問題に修正プログラムが必要な場合は、修正プログラムの詳細を添付して、修正プログラムを要求するサポート チケットを作成してください。
  • Liferay DXP にフィックスパックとホットフィックスをインストールすると、それぞれの環境にこのホットフィックスをインストールするためのガイドが表示されます。

追加情報

  • ホットフィックスが提供されている場合、以下のポータル プロパティが portal.properties ファイルに含まれており、デフォルトで false に設定されています。
    enterprise.product.commerce.enabled=false
  • このプロパティを portal-ext.properties ファイルに含めて、true に設定してください。
    注: 上記のプロパティを追加した後、プロパティを有効にするためにサーバーを再起動する必要があります。
did-this-article-resolve-your-issue

legacy-knowledge-base