Uploaded image for project: 'PUBLIC - Liferay Commerce'
  1. PUBLIC - Liferay Commerce
  2. COMMERCE-7169

Could not resolve module error Commerce Demo Pack 4.0.5 on master at

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Won't Fix
    • Affects Version/s: Master
    • Fix Version/s: 7.4.3 CE GA4
    • Component/s: Shopping Experience
    • Labels:
      None
    • Severity of Issue:
      Critical

      Description

       Steps to reproduce

      1. Build local jar file for commerce demo pack (see LRQA-69825)
      2. Deploy on a portal bundle

      Expected result:
      Commerce Demo Pack 4.0.5 deploys and starts up without errors.

      Actual result

      2021-09-03 21:43:53.879 ERROR [fileinstall-directory-watcher][DirectoryWatcher:1159] Unable to start bundle: file:/L:/liferay-portal-master-private-all/osgi/modules/com.liferay.commerce.theme.minium.full.site.initializer-4.0.5.jar
      com.liferay.portal.kernel.log.LogSanitizerException: org.osgi.framework.BundleException: Could not resolve module: com.liferay.commerce.theme.minium.full.site.initializer [1357]_  Unresolved requirement: Import-Package: com.liferay.commerce.account.model; version="[5.0.0,6.0.0)"_ [Sanitized]
              at org.eclipse.osgi.container.Module.start(Module.java:444) ~[org.eclipse.osgi.jar:?]
              at org.eclipse.osgi.internal.framework.EquinoxBundle.start(EquinoxBundle.java:428) ~[org.eclipse.osgi.jar:?]
              at com.liferay.portal.file.install.internal.DirectoryWatcher._startBundle(DirectoryWatcher.java:1142) [bundleFile:?]
              at com.liferay.portal.file.install.internal.DirectoryWatcher._startBundles(DirectoryWatcher.java:1175) [bundleFile:?]
              at com.liferay.portal.file.install.internal.DirectoryWatcher._process(DirectoryWatcher.java:1037) [bundleFile:?]
              at com.liferay.portal.file.install.internal.DirectoryWatcher.run(DirectoryWatcher.java:272) [bundleFile:?]
      

      Full Console Log

      Reproduced on:
      Tomcat 9.0.43 + HSQL.
      Portal master GIT ID: 156bf87f16e3ab84da4c7c3837bd28f2ba510b53

        Attachments

          Activity

            People

            Assignee:
            nikki.prudencio Nikki Prudencio
            Reporter:
            nikki.prudencio Nikki Prudencio
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Packages

                Version Package
                7.4.3 CE GA4